Граф коммитов

18289 Коммитов

Автор SHA1 Сообщение Дата
Brian Hackett cff7d7fb16 Bug 1592854 - Workaround rendering problems with conditional panel during test, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D51438

--HG--
extra : moz-landing-system : lando
2019-11-05 01:28:08 +00:00
Jason Laster 16fab4466c Bug 1586904 - Refreshing while paused fails. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D51484

--HG--
extra : moz-landing-system : lando
2019-11-04 23:45:13 +00:00
Jason Laster d6de8cab3a Bug 1593348 - Handle empty target in paused-debugger. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D51455

--HG--
extra : moz-landing-system : lando
2019-11-01 21:00:58 +00:00
Julian Descottes 3ff4d952e6 Bug 1591952 - Add a global try catch around grid-inspector onReflow to swallow exceptions after destroy r=gl
This method is very asynchronous, called on reflows and throttled. Which means it has a high chance of intermittently failing after destroy.

Differential Revision: https://phabricator.services.mozilla.com/D51663

--HG--
extra : moz-landing-system : lando
2019-11-04 19:44:32 +00:00
Itiel f985df675a Bug 1593542 - General RTL improvements to the network monitor r=jdescottes
Also improve CSS code style/quality

Differential Revision: https://phabricator.services.mozilla.com/D51535

--HG--
extra : moz-landing-system : lando
2019-11-04 17:46:46 +00:00
Jason Laster 90ac689cde Bug 1583806 - Add a binary path override for the browser toolbox. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D51138

--HG--
extra : moz-landing-system : lando
2019-11-04 17:26:12 +00:00
Dorel Luca 0207ce5451 Backed out 2 changesets (bug 1470510) for build bustage on /build/src/widget/cocoa/nsChildView.mm. CLOSED TREE
Backed out changeset 5967bf633574 (bug 1470510)
Backed out changeset 067a556bb614 (bug 1470510)

--HG--
rename : xpfe/appshell/nsIAppWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/AppWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/AppWindow.h => xpfe/appshell/nsXULWindow.h
extra : amend_source : 752d828c6a0726c3f2df57a25741e38b36b75d6b
2019-11-04 19:18:56 +02:00
Brendan Dahl 247b257cfa Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

Differential Revision: https://phabricator.services.mozilla.com/D51486

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-04 16:52:35 +00:00
Razvan Caliman 9ce94dcb9e Bug 1592604 - Ensure flexbox highlighter events don't influence grid badges in markup view. r=gl
When creating grid and display badges in the markup view, ensure they listen only to their corresponding highlighter events.

Differential Revision: https://phabricator.services.mozilla.com/D51137

--HG--
extra : moz-landing-system : lando
2019-11-01 15:20:18 +00:00
Julian Descottes cf665518e8 Bug 1591140 - Allow chrome privileged documents to preventDefault contextmenu events regardless of dom.event.contextmenu.enabled r=gl,nika,mconley
@gl can you take a look at the DevTools test added here?
@nika @mconley I used this.browsingContext.docShell.isContent here to rule out chrome-privileged documents. Do you know if there is better way to check if the current document is chrome-privileged or not?

Differential Revision: https://phabricator.services.mozilla.com/D51320

--HG--
extra : moz-landing-system : lando
2019-11-04 08:20:02 +00:00
Neil Deakin d12fb42226 Bug 1592157, convert LinkHandlerChild.jsm to JSWindowActor to support fission, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51026

--HG--
extra : moz-landing-system : lando
2019-11-04 14:48:04 +00:00
Nicolas Chevobbe 0794fcd2a2 Bug 1593053 - Remove XBL categories in console-services.js isCategoryAllowed. r=bgrins.
We shouldn't need those anymore now.

Differential Revision: https://phabricator.services.mozilla.com/D51568

--HG--
extra : moz-landing-system : lando
2019-11-04 14:30:15 +00:00
Alexandre Poirot 02b06ea7a2 Bug 1471754 - Make the Toolbox use the TargetList. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D48858

--HG--
extra : moz-landing-system : lando
2019-11-04 11:04:05 +00:00
Alexandre Poirot 19707475af Bug 1471754 - Implement the TargetList component. r=jdescottes
This component will help build and maintain the list of all the Targets.
Making it easier to:
* listen for all the targets: TargetList.watchTargets/unwatchTargets,
* iterate over all the existing ones: TargetList.getAllTargets,
* get all the TargetScoped fronts of all the targets: TargetList.getAllFronts.

Differential Revision: https://phabricator.services.mozilla.com/D48857

--HG--
extra : moz-landing-system : lando
2019-11-04 11:03:58 +00:00
Brian Hackett d293e937fe Bug 1592560 - Avoid using Reflect in workers, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D51282

--HG--
extra : moz-landing-system : lando
2019-11-04 09:08:05 +00:00
Itiel a02bd2636c Bug 1593531 - RTL fixes for the truncation message in the websockets panel r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D51532

--HG--
extra : moz-landing-system : lando
2019-11-04 10:04:46 +00:00
Itiel 235c8782ec Bug 1593527 - Cleanup CustomRequestPanel.css to fix RTL r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D51531

--HG--
extra : moz-landing-system : lando
2019-11-04 09:58:40 +00:00
Nicolas Chevobbe 9c0b3f6b24 Bug 1570524 - Fix browser_webconsole_cached_messages intermittent. r=Honza.
Wait for the messages to be displayed, and requestLongerTimeout,
as test failures logs seem to indicate that slower machine take
more than 30s to run the test.

Differential Revision: https://phabricator.services.mozilla.com/D51562

--HG--
extra : moz-landing-system : lando
2019-11-04 09:53:31 +00:00
Nicolas Chevobbe a558e51a4d Bug 1590974 - Pass the toolbox document to MenuButton in the a11y panel. r=yzen.
This makes it possible for the menus to not be constrained
to the panel boundaries if they are taller than the panel
itself (which could be the case for the simulate menu as
it has lots of items).
We need to style the button with a link role in the toolbox
CSS so they don't look like real buttons.

Differential Revision: https://phabricator.services.mozilla.com/D50461

--HG--
extra : moz-landing-system : lando
2019-11-04 06:38:37 +00:00
jaril 9f18dcfb2a Bug 1593302 - Fix frame timeline scrubbing so it doesn't highlight other elements r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D51424

--HG--
extra : moz-landing-system : lando
2019-11-04 04:52:05 +00:00
Gijs Kruitbosch ea58459bc1 Bug 1545123 - move reading pluginreg and scanning for plugins to a background thread, r=handyman,mconley
Finally, let's move the actual IO away from the main thread.

This means there are now 3 ways of looking for plugins:
1. looking for changes from ReloadPlugins. This runs the PluginFinder runnable
   on the main thread.
2. loading plugins from LoadPlugins. This will:
   a) first check prefs and report the flash plugin based on that information,
      if the prefs indicate it exists (using the callback provided by
      nsPluginHost).
   b) then hopefully dispatch to a background thread, where it will read
      pluginreg.dat, scan the appropriate folders on disk, and see if
      anything changed. Once done, it sets mFinishedFinding to true and
      re-dispatches itself to the main thread.
   c) then on the main thread, it reports any changes to nsPluginHost.
3. if dispatching in 2(b) fails, we will run steps (b) and (c) on the main
   thread.

Note: if ReloadPlugins is called, we intiially do (1), but if we find
changes, we clear out the set of known plugins and then run LoadPlugins
again (meaning we go through 2 (or 3 if 2(b) fails)). This is how
reloading plugins worked prior to my changes and I've attempted not to
change it.

In order for this to work, there are some other changes in this commit:

- the sandbox prefs are being read "early" and cached for flash vs
  "everything else". We can't access prefs on non-main threads without
  using StaticPrefs, which doesn't seem worth it here.
- some of the plugin tag classes are moved to threadsafe refcounting.
  This is a bit unfortunate, but because they're instantiated on a non-
  mainthread, and then later used on the main thread, despite the
  fact that the architecture means nothing tries to touch them from
  more than one thread at once, without threadsafe refcounting we hit
  asserts in debug mode if we add references to them back on the main thread.
- we add shutdown blocking for pluginfinding. We don't really want to
  be halfway through finding plugins and then trying to shut them down,
  or re-instantiating plugins after they've been unloaded.
- we keep a reference to the "pending" pluginfinder instance while
  doing lookups away from the main thread (ie (2)), to avoid re-entrancy or
  trying to write to pluginreg while we're reading it somewhere else,
  etc. If there's an attempt to do more plugin finding while this is
  ongoing, we flip mDoReloadOnceFindingFinished and do a reload once
  our initial lookups are complete.

Depends on D48331

Differential Revision: https://phabricator.services.mozilla.com/D48332

--HG--
extra : moz-landing-system : lando
2019-11-02 22:35:04 +00:00
Ciure Andrei fdfd0105e6 Backed out 5 changesets (bug 1545123) for causing nsPluginTags.cpp build bustages CLOSED TREE
Backed out changeset 91313cceae8c (bug 1545123)
Backed out changeset d91549e68229 (bug 1545123)
Backed out changeset 269d89e09fbb (bug 1545123)
Backed out changeset a139ee115519 (bug 1545123)
Backed out changeset eb454f238f45 (bug 1545123)
2019-11-02 14:00:38 +02:00
Gijs Kruitbosch dc78268f2e Bug 1545123 - move reading pluginreg and scanning for plugins to a background thread, r=handyman,mconley
Finally, let's move the actual IO away from the main thread.

This means there are now 3 ways of looking for plugins:
1. looking for changes from ReloadPlugins. This runs the PluginFinder runnable
   on the main thread.
2. loading plugins from LoadPlugins. This will:
   a) first check prefs and report the flash plugin based on that information,
      if the prefs indicate it exists (using the callback provided by
      nsPluginHost).
   b) then hopefully dispatch to a background thread, where it will read
      pluginreg.dat, scan the appropriate folders on disk, and see if
      anything changed. Once done, it sets mFinishedFinding to true and
      re-dispatches itself to the main thread.
   c) then on the main thread, it reports any changes to nsPluginHost.
3. if dispatching in 2(b) fails, we will run steps (b) and (c) on the main
   thread.

Note: if ReloadPlugins is called, we intiially do (1), but if we find
changes, we clear out the set of known plugins and then run LoadPlugins
again (meaning we go through 2 (or 3 if 2(b) fails)). This is how
reloading plugins worked prior to my changes and I've attempted not to
change it.

In order for this to work, there are some other changes in this commit:

- the sandbox prefs are being read "early" and cached for flash vs
  "everything else". We can't access prefs on non-main threads without
  using StaticPrefs, which doesn't seem worth it here.
- some of the plugin tag classes are moved to threadsafe refcounting.
  This is a bit unfortunate, but because they're instantiated on a non-
  mainthread, and then later used on the main thread, despite the
  fact that the architecture means nothing tries to touch them from
  more than one thread at once, without threadsafe refcounting we hit
  asserts in debug mode if we add references to them back on the main thread.
- we add shutdown blocking for pluginfinding. We don't really want to
  be halfway through finding plugins and then trying to shut them down,
  or re-instantiating plugins after they've been unloaded.
- we keep a reference to the "pending" pluginfinder instance while
  doing lookups away from the main thread (ie (2)), to avoid re-entrancy or
  trying to write to pluginreg while we're reading it somewhere else,
  etc. If there's an attempt to do more plugin finding while this is
  ongoing, we flip mDoReloadOnceFindingFinished and do a reload once
  our initial lookups are complete.

Depends on D48331

Differential Revision: https://phabricator.services.mozilla.com/D48332

--HG--
extra : moz-landing-system : lando
2019-10-30 15:53:15 +00:00
Micah Tigley a34e986f2f Bug 1588438 - Refactor deprecated touch event APIs. r=ochameau
This revision refactors RDM's touch simulator to use modern touch web APIs where possible.

Differential Revision: https://phabricator.services.mozilla.com/D50147

--HG--
extra : moz-landing-system : lando
2019-11-01 23:05:37 +00:00
Brian Hackett 130ae0969a Bug 1593140 - Keep track of replaying process progress to detect hangs, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51323

--HG--
extra : moz-landing-system : lando
2019-11-01 22:50:37 +00:00
Micah Tigley 7b518bfeac Bug 1578865 - Show the device settings modal over the RDM UI . r=gl
Since closing D50559, we're not using CSS Grid for the browser's container layout (see D48778 for context). This means positioning the device settings modal using CSS grid areas won't work.

An alternative to this is to contain the RDM toolbar inside the browser stack now that it uses CSS Grid. We can then use absolute positioning to have the RDM toolbar always positioning on top of the browser element and adjust its size when the device settings is opened.

Differential Revision: https://phabricator.services.mozilla.com/D51102

--HG--
extra : moz-landing-system : lando
2019-11-01 19:23:55 +00:00
Florens Verschelde d57b479711 Bug 1525939 - Use shared Accordion component in Inspector; r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D43640

--HG--
extra : moz-landing-system : lando
2019-11-01 16:11:13 +00:00
Nicolas Chevobbe df353efb8c Bug 1592618 - Fix test memory leak in browser_jsterm_file_load_save_keyboard_shortcut.js .r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D51271

--HG--
extra : moz-landing-system : lando
2019-11-01 14:35:54 +00:00
Nicolas Chevobbe 07a531158b Bug 1592550 - Allow saveAs util function to be passed an array of filters. r=Honza.
A new parameter is added, and it expect an array
of filter objects (which contain a pattern and
a label properties), which are going to be used
by the save file dialog.

Depends on D51070

Differential Revision: https://phabricator.services.mozilla.com/D51078

--HG--
extra : moz-landing-system : lando
2019-11-01 09:26:18 +00:00
chujun 9d1969b69b Bug 1592904-Extenstion typo fix r=davidwalsh
Change occurrence of extenstion to extension in debugger

Differential Revision: https://phabricator.services.mozilla.com/D51239

--HG--
extra : moz-landing-system : lando
2019-10-31 17:03:59 +00:00
Julian Descottes 0257e34647 Bug 1592996 - Bail out from walker.findNodeFront if the walker cannot reach the selectors r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D51321

--HG--
extra : moz-landing-system : lando
2019-11-01 13:59:12 +00:00
Jason Laster cd8222f74c Bug 1581249 - Revert - The timeline should show breakpoint hits. r=bhackett
This reverts commit 34ddff68bdfc54cc61252cd76e708697d1629e86.

Differential Revision: https://phabricator.services.mozilla.com/D51331

--HG--
extra : moz-landing-system : lando
2019-11-01 00:05:58 +00:00
Brad Werth 8e14b87503 Bug 1579269 Part 2: Add a test of the inRDMPane property. r=mtigley
This test is setup to run both with and without the pref
"devtools.responsive.browserUI.enabled" set. Ideally, we can find a
way to refactor this structure into something that can be put into
devtools/client/responsive/test/browser/head.js, and other helper
functions in that file can be modified to work with the pref on or
off.

Differential Revision: https://phabricator.services.mozilla.com/D51022

--HG--
extra : moz-landing-system : lando
2019-10-31 21:17:21 +00:00
Brad Werth b5785ce2c6 Bug 1579269 Part 1: Make the document inRDMPane property set via a new emulation actor method. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D51020

--HG--
extra : moz-landing-system : lando
2019-10-31 21:16:58 +00:00
Sorin Davidoi 04c35ed680 Bug 1589744: Don't update hidden tabs when not necessary r=davidwalsh
They only need to be updated from `componentDidUpdate` if the open tabs have changed.

Before: https://perfht.ml/32w6iwg
After: https://perfht.ml/2Bqk7R0
Diff: https://perfht.ml/2pvNyhW

Differential Revision: https://phabricator.services.mozilla.com/D49782

--HG--
extra : moz-landing-system : lando
2019-10-31 09:38:47 +00:00
Cosmin Sabou 1ba5593436 Backed out changeset 9f5359d5db86 (bug 1583546) for devtools failures on browser_webconsole_location_logpoint_debugger_link.js 2019-10-31 17:54:25 +02:00
Alexander J. Vincent ca5176f7cc Bug 1094939 - Preferences actor should throw with the name for an unknown preference. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D50728

--HG--
extra : moz-landing-system : lando
2019-10-31 14:05:46 +00:00
Jason Laster a76f552717 Bug 1592755 - Remove _migrateProfileDir usage. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D51170

--HG--
extra : moz-landing-system : lando
2019-10-31 10:56:13 +00:00
Jason Laster d059c73cf7 Bug 1589546 - Timeline markers move when the timeline updates. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D51217

--HG--
extra : moz-landing-system : lando
2019-10-31 13:29:40 +00:00
Brian Hackett 7665a7d7c0 Bug 1571863 Part 2 - Handle failures when communicating with source fronts, and reenable browser_dbg-worker-scopes.js, r=loganfsmyth.
Depends on D50762

Differential Revision: https://phabricator.services.mozilla.com/D50763

--HG--
extra : moz-landing-system : lando
2019-10-31 13:55:09 +00:00
Brian Hackett 10ef99e089 Bug 1571863 Part 1 - Manage SourceFront from its associated ThreadFront, r=jdescottes,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D50762

--HG--
extra : moz-landing-system : lando
2019-10-31 13:53:25 +00:00
Brian Hackett 7efef281eb Bug 1583546 - Add test that the OBT debugger can pause even when it hasn't been opened, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D50225

--HG--
extra : moz-landing-system : lando
2019-10-31 13:49:28 +00:00
Brian Hackett d3809112ad Bug 1592730 - Make target updates async friendly, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51158

--HG--
extra : moz-landing-system : lando
2019-10-31 13:44:20 +00:00
Belén Albeza 3c264295d6 Bug 1592661: Re-enable Manifest browser tests on try r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D51251

--HG--
extra : moz-landing-system : lando
2019-10-31 12:54:38 +00:00
Julian Descottes 3f0e2f4c4f Bug 1592517 - Migrate devtools DOMHelpers.jsm from JSM to plain JS module r=ochameau
Depends on D51054

Summary of the changes here:
- move DOMHelpers.jsm to dom-helpers.js
- remove all unused methods
- converted to a static helper to avoid instanciating DOMHelpers objects for no reason
- updated call sites accordingly

Differential Revision: https://phabricator.services.mozilla.com/D51065

--HG--
rename : devtools/shared/DOMHelpers.jsm => devtools/shared/dom-helpers.js
extra : moz-landing-system : lando
2019-10-30 11:25:01 +00:00
Daisuke Akatsuka 7673889b29 Bug 1592871: Add test whether the ruleview will not be broken. r=gl
Depends on D51219

Differential Revision: https://phabricator.services.mozilla.com/D51220

--HG--
extra : moz-landing-system : lando
2019-10-31 05:17:53 +00:00
Daisuke Akatsuka e3665fd758 Bug 1592871: Avoid passing not CSSStyleRule object into InspectorUtils.getSelectorCount(). r=gl
Differential Revision: https://phabricator.services.mozilla.com/D51219

--HG--
extra : moz-landing-system : lando
2019-10-31 05:18:11 +00:00
Anshul 4ebcdca08e Bug 1591975 - Summary: Do not render Watchpoint button in console r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D50984

--HG--
extra : moz-landing-system : lando
2019-10-31 05:02:32 +00:00
jaril ce02064d8a Bug 1592775 - Fix jumping behavior in frame timeline
Differential Revision: https://phabricator.services.mozilla.com/D51182

--HG--
extra : moz-landing-system : lando
2019-10-31 03:22:26 +00:00
Andreea Pavel e86554ebb1 Backed out changeset 723eb1f37393 (bug 1592775) for debugger failure on a CLOSED TREE 2019-10-31 04:49:03 +02:00