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

21305 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Poirot f4606b2122 Bug 1657105 - Use constants to define target types on the server and set targetType on all targets. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D86632
2020-08-12 15:10:13 +00:00
Luca Leone 877b4d38f5 Bug 1590885 - Expose line-wrap as an option in the debugger editor context menu. r=nchevobbe
Added an option to the debugger editor context menu for the user to be able to wrap / unwrap long lines.

Differential Revision: https://phabricator.services.mozilla.com/D60681
2020-08-12 13:46:32 +00:00
Kriyszig f7e148af42 Bug 1657984 - Part 2 - Test the telemetry for CSS Compatibility Tooltip r=daisuke,mtigley
We check if telemetry "devtools.tooltip.shown" is set for label
"css-compatibility" once the tooltip is toggled visible during
the test.

Differential Revision: https://phabricator.services.mozilla.com/D86403
2020-08-12 02:41:48 +00:00
Kriyszig 8e3c67669b Bug 1657984 - Part 1 - Add telemetry for CSS Compatibility Tooltip r=daisuke,mtigley
Based on initital implementation of inactive css tooltip telemetry
implementation in D32810
We record toggling of tooltip using `sendOpenScalarToTelemetry`
against the label "css-compatibility".

Differential Revision: https://phabricator.services.mozilla.com/D86402
2020-08-11 23:10:16 +00:00
Julian Descottes f05829aa08 Bug 1629890 - Use Front/Actor::isDestroyed to replace actorID checks r=nchevobbe
Depends on D86325

Differential Revision: https://phabricator.services.mozilla.com/D86356
2020-08-12 11:33:44 +00:00
Julian Descottes 028ab078d0 Bug 1629890 - Convert accessible isDestroyed getter to Actor::isDestroyed() r=yzen,nchevobbe
Depends on D86324

Differential Revision: https://phabricator.services.mozilla.com/D86325
2020-08-10 18:56:38 +00:00
Julian Descottes da1f00acb5 Bug 1629890 - Add isDestroyed helper on DevTools Actor base class r=nchevobbe
Depends on D86323

Differential Revision: https://phabricator.services.mozilla.com/D86324
2020-08-07 13:21:40 +00:00
Julian Descottes 8b34b0fb01 Bug 1629890 - Add isDestroyed helper on DevTools Front base class r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86323
2020-08-07 13:24:00 +00:00
Kyle Knaggs b4e5389cd9 Bug 1590019 - Make the styling of placeholder text in the Debugger consistent r=nchevobbe
Before this change the styling of the inputs in the Debugger was inconsistent. This patch addresses this issue by:
1. Modifying the appearance of the placeholder text by setting its `color` to `--theme-text-color-alt` and its `opacity` to `1`. This ensures that the placeholder text has a contrast ratio of 4.74 when paired with a white background and passes the 4.5:1 contrast requirement of WCAG.
2. Modifying the height of the inputs in the Primary and Secondary Panes so that they are all `24px`.

{F2406940}

Differential Revision: https://phabricator.services.mozilla.com/D85630
2020-08-12 07:25:16 +00:00
alwu 8aa1cfd69f Bug 1658614 - capture 'MediaController' thread in media preset. r=canaltinova
`MediaPlayback` thread has been renamed to `MediaController` thread, so update the captured thread list for media preset.

Differential Revision: https://phabricator.services.mozilla.com/D86749
2020-08-11 18:46:14 +00:00
Kriyszig 03380e2a78 Bug 1658356 - Fix the incorrect object key for the Tooltip message ID r=daisuke,mtigley
The key of the object is incorrectly used as `css-compatibility-experimental-supported-message`
instead of `experimental-supported`. This leads to the l10n translation
for undefined msgId leading to failure of appearance of tooltip.
This patch fixes the problem and adds a test to prevent regression.

Differential Revision: https://phabricator.services.mozilla.com/D86584
2020-08-11 16:48:18 +00:00
Noemi Erli 56b4ff381b Backed out changeset 9040cdaddc7c (bug 1658323) for causing multiple failures actors/webconsole related CLOSED TREE 2020-08-11 14:45:36 +03:00
Christoph Kerschbaumer a2f94da3d9 Bug 1658323: HTTPS-Only Mode: Have console message link to SUMO page r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86577
2020-08-11 10:00:53 +00:00
Daisuke Akatsuka 1d6b40b174 Bug 1644194: Add a test for CSS change watcher. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85240
2020-08-03 02:16:54 +00:00
Daisuke Akatsuka d9acff03ab Bug 1644194: Implement CSS change watcher. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85239
2020-08-10 23:32:28 +00:00
Emma Malysz 3123c7867e Bug 1634030: lazify main app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84014
2020-08-10 17:09:55 +00:00
Butkovits Atila 6c59af367d Backed out changeset cfaf03474399 (bug 1651033) for failure at browser_accessibility_walker.js. CLOSED TREE 2020-08-10 19:28:49 +03:00
Julian Descottes a0acf13c9c Bug 1651033 - Prevent default for pointerup/down events with DevTools node picker r=gl
Differential Revision: https://phabricator.services.mozilla.com/D86502
2020-08-10 14:37:50 +00:00
Nicolas Chevobbe ab02d889fb Bug 1657378 - Fix intermittent failure on browser_target_list_tab_workers.js . r=jdescottes.
Don't rely on the order of execution of onTargetDestroyed.

Differential Revision: https://phabricator.services.mozilla.com/D86515
2020-08-10 08:45:41 +00:00
Julian Descottes 06dea32c55 Bug 1657899 - Do not assume any resource order in browser_resources_stylesheets.js - part 2 r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D86360
2020-08-08 00:42:21 +00:00
Butkovits Atila 996e816c65 Backed out changeset e71e10688704 (bug 1634030) for failure at browser_shim_disable_devtools.js CLOSED TREE 2020-08-08 03:46:14 +03:00
Emma Malysz 77f8ca0ed1 Bug 1634030: lazify main app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84014
2020-08-07 22:02:32 +00:00
Varun Dey 918fb21e6a Bug 1642769 - Show TypeScript icon for .tsx extension. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D86141
2020-08-07 20:36:18 +00:00
Julian Descottes 705e65c932 Bug 1652445 - Fix highlighters overlay to react to frame navigation r=rcaliman
Depends on D84973

This was highlighted by browser_grids_grid-list-on-iframe-reloaded.js which fails without this fix.

Differential Revision: https://phabricator.services.mozilla.com/D84974
2020-08-07 12:24:10 +00:00
Julian Descottes 6e5145a87c Bug 1652445 - Use root node resource to detect navigation for all frames r=rcaliman,ochameau
Depends on D85599

The WalkerActor is currently responsible for watching navigations and exposes them to the client.
However, this is communicated to the client differently depending on what kind of frame navigates.
If the top frame of the target navigates, this will be exposed via the watchRootNode API (onDestroyed/onAvailable callbacks will be triggered)
If an inner frame navigates, mutations will be emitted: "frameLoad"/"documentUnload" + a fake "childList" mutation.

On the client side, we have to handle both very similarly which leads to some duplication.
Also "frameLoad"/"documentUnload" are one of the last "immediateMutations" which usually means they should not have been mutations in the first place.

The goal here is to use the watchRootNode API for all frames.

Differential Revision: https://phabricator.services.mozilla.com/D84973
2020-08-07 12:16:51 +00:00
Julian Descottes 40eb2a0d73 Bug 1652445 - Remove skipped & outdated test browser_inspector-mutations-frameload.js r=ochameau
Depends on D85598

This test relies on mutations which are no longer emitted for most navigations and which will no longer be emitted at all with the next patches.
It has been disabled for 9 months and should be removed.

Differential Revision: https://phabricator.services.mozilla.com/D85599
2020-08-07 12:16:44 +00:00
Julian Descottes 58de59ca2b Bug 1652445 - Remove backward compatibility code for newRoot mutations r=rcaliman
Depends on D85597

newRoot mutations are no longer emitted by any server we support, we can remove the corresponding client code.

Differential Revision: https://phabricator.services.mozilla.com/D85598
2020-08-07 12:16:42 +00:00
Julian Descottes efef5c970b Bug 1652445 - Remove outdated traits from NodeActor r=rcaliman
Depends on D84972

Differential Revision: https://phabricator.services.mozilla.com/D85597
2020-08-07 12:15:02 +00:00
Julian Descottes 1d0130e4df Bug 1652445 - Rename WalkerActor _ref method and _refMap property r=gl
_ref is renamed to _getOrCreateNodeActor to better reflect the purpose of the method.
_refMap is renamed to _nodeActorsMap

The test helper inspector-helpers was also directly querying _refMap.
This has been replaced by a call to the public API getNode.

Differential Revision: https://phabricator.services.mozilla.com/D84972
2020-08-07 12:14:37 +00:00
Belén Albeza b6de344d69 Bug 1653998 - View source of worker from the Application panel r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D86039
2020-08-07 12:47:34 +00:00
Stepan Stava 99cb02ee89 Bug 1657074 - Refactor 'toggleJavaScript' mochitest helper function to make it reusable r=nchevobbe
As suggested in revision [[ https://phabricator.services.mozilla.com/D81678#inline-485161| D81678 ]] the current `toggleJavaScript` function is used for toggling one menu item in the debugger settings.

This patch refactors this function to be reusable by other tests.

Differential Revision: https://phabricator.services.mozilla.com/D86038
2020-08-07 12:23:27 +00:00
Richard Sherman 155b24b9c7 Bug 1581641 - Enable codemirror's code folding in editor mode r=nchevobbe
Adding code folding to console when in editor mode.

Differential Revision: https://phabricator.services.mozilla.com/D85901
2020-08-07 11:10:17 +00:00
Julian Descottes e57c2589f9 Bug 1655016 - Do not assume any resource order in browser_resources_stylesheets.js r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D86254
2020-08-07 06:08:27 +00:00
Kriyszig 5808376a46 Bug 1643961 - Remove the backwards compatibility check for CompatibilityActor r=daisuke,mtigley
The backwards compatibility checks existed to support devtools
backend for version older than FF79. Now that FF79 has hit the
release channel, these tests for older backend can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D86142
2020-08-06 22:39:57 +00:00
Kriyszig 916bc8b129 Bug 1649021 - Add tests for CSS Compatibility Tooltip r=mtigley,daisuke DONTBUILD
The CSS Compatibility Tooltip tests cover the following cases:
* Check if the contents of the tooltip match the rendered template
* Check compatible rules aren't falsely marked incompatible
* Check incompatible rules are marked correct with icon appearing next to it
* Check toggling rule disable hides the icon
* Check adding rules updates the compatibilility status
* Check the compatibility icon disappears if a fix is added

Differential Revision: https://phabricator.services.mozilla.com/D84218
2020-08-06 11:06:39 +00:00
Kriyszig d0b13329e8 Bug 1649021 - Add tooltip in rules panel to highlight CSS compatiblity issues for particular declaration r=mtigley,daisuke,flod,ckerschb DONTBUILD
Use CompatibilityActor to fetch the compatiblity information for
a particular CSS declaration and show a tooltip for the
incompatible CSS declaration that may cause issue on platform

Differential Revision: https://phabricator.services.mozilla.com/D81474
2020-08-06 04:41:34 +00:00
Kriyszig 039a9c85b1 Bug 1649018 - Expose compatibility computation for CSS declaration block via CompatiblityActor and add browser dataset fetch r=daisuke,devtools-backward-compat-reviewers DONTBUILD
Previously CompatibilityActor could only compute the compatiblity
issues taking node actor. However with the implementation of
inline compatibility warning, it becomes necessary to compute
compatiblity issue from the CSS declaration block. This patch
exposes a getCssDeclarationBlockIssues and add browser dataset
fetch within the actor for inline warnings.

Differential Revision: https://phabricator.services.mozilla.com/D81472
2020-07-15 09:11:21 +00:00
Julian Descottes 599815e926 Bug 1571329 - Wait for 2 ruleview-changed events in browser_inspector_highlighter-cssshape_iframe_01.js r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D86237
2020-08-06 20:46:25 +00:00
manas 89eed33401 Bug 1653290 - Add overflow badge and show an overflow badge for every scroll causing element dynamically and a test to check its working. r=gl,devtools-backward-compat-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D84333
2020-08-06 16:14:23 +00:00
Hubert Boma Manilla fac59c1636 Bug 1657153 - Use the resource id for updating and deleting a resource r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85987
2020-08-06 11:24:54 +00:00
Nicolas Chevobbe 7ee8cd576d Bug 1657389 - Rename target actor mock 'window' property to 'workerGlobal'. r=ochameau.
Not having the window property anymore, we have to change the `window` getter
in WebConsoleActor to retrieve `workerGlobal`. And since the getter name wasn't
reflecting what it was holding (it can be a window, a worker global or a sandbox),
we rename it to `global` (and `evalWindow` to `evalGlobal`).

We remove the `globalDebugObject` getter on the thread actor that wasn't used
anywhere in the code.

Differential Revision: https://phabricator.services.mozilla.com/D86035
2020-08-06 14:05:07 +00:00
Nicolas Chevobbe 09e0660397 Bug 1657386 - Use helpers from shared-head to unregister all workers in application panel tests. r=ladybenko.
Differential Revision: https://phabricator.services.mozilla.com/D86024
2020-08-06 14:09:20 +00:00
Dev Singh e24d477b21 Bug 1635835 - Fix request parsing with XSSI-escapes in requests and responses r=Honza,bomsy
Also implements JSONP parsing into the main JSON parser

Differential Revision: https://phabricator.services.mozilla.com/D80720
2020-08-06 12:51:14 +00:00
Itiel 2f84734040 Bug 1656706 - Fix prefixed properties being displayed incorrectly in the Compatibility panel, for RTL r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D85663
2020-08-06 03:36:28 +00:00
Butkovits Atila 3bd0e5497c Backed out 10 changesets (bug 1589102) for failure at browser_saveHeapSnapshot_e10s_01.js CLOSED TREE
Backed out changeset 0d22ad297b19 (bug 1589102)
Backed out changeset 14bcaf2a452c (bug 1589102)
Backed out changeset 20905f91e2bb (bug 1589102)
Backed out changeset 29ee0fbe855f (bug 1589102)
Backed out changeset d1f6185030af (bug 1589102)
Backed out changeset 31949872cc1d (bug 1589102)
Backed out changeset ec04e1a20597 (bug 1589102)
Backed out changeset ffe8da473b91 (bug 1589102)
Backed out changeset 3b92f7306c64 (bug 1589102)
Backed out changeset b187548e258f (bug 1589102)
2020-08-05 21:47:50 +03:00
Anny Gakhokidze 5da2f83936 Bug 1589102 - Part 5: Fix tests that relied on about:blank loads happening instantenously, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D85083
2020-08-05 16:44:18 +00:00
Alexandre Poirot 28ef7f3731 Bug 1657194 - Prevent attaching to frame target in the context of the browser toolbox. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D85918
2020-08-05 14:15:20 +00:00
Hubert Boma Manilla 7c093a6ed4 Bug 1653743 - Send request body event for service workers r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D84340
2020-08-05 12:09:44 +00:00
Belén Albeza 7a05ad3411 Bug 1637538 - Change debug button in the Application panel for a link as per latest UX mockups r=jdescottes,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D85605
2020-08-04 18:36:38 +00:00
Nicolas Chevobbe 38c24cfb66 Bug 1656888 - Load ad-hoc console listener module in worker context. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D85815
2020-08-05 08:59:20 +00:00
Nicolas Chevobbe a704fd4ad8 Bug 1656888 - Make WorkerThread's mock parent an Actor. r=ochameau.
The `watchResources` function [1] takes as a first parameter either a watcher
actor or a target actor, that is used to manage the created resources (e.g. the
object actors of console messages). In order to be able to manage actors, it
needs to extend the `Pool` class (which is the case for Actor).
In the worker cases, things are a bit different, since we create a DevToolServer
which only have a WebConsole and a Thread actor. Those actors usually take a target
actor as a parent, but in the Worker thread we simply have an object implementing
the properties and methods it needs.
This will be this target actor mock that we're going to pass to `watchResources`,
and in order to be able to do that, it needs to be able to manage actors.

In regard of all this, this patch makes the target actor mock an actual Actor,
witout spec, on which we then put the existing methods and properties.

[1] https://searchfox.org/mozilla-central/rev/0e309417bdc73be33fc93f6bd7a0d4063d2c6e51/devtools/server/actors/resources/index.js#66

Differential Revision: https://phabricator.services.mozilla.com/D85814
2020-08-05 08:29:00 +00:00
Nicolas Chevobbe e38391a4ab Bug 1656888 - Add test cases for TargetList worker support. r=jdescottes.
The existing browser_target_list_workers.js is split in two tests, one for testing
browser workers (i.e. Browser Toolbox case), and another one for testing workers
in a tab.

Numerous test cases are added to check behaviour of the targetList when workers:
- already exists
- are spawned
- are terminated
in the main document or in remote iframe.

The test is tagged as fail-if when fission is enabled since we don't get the
workers for remote iframes.

Differential Revision: https://phabricator.services.mozilla.com/D85813
2020-08-05 12:13:44 +00:00
Nicolas Chevobbe d056b8ad0f Bug 1656888 - Make the iframe in fission_document.html a remote iframe. r=jdescottes.
fission_document.html's iframe was on example.com while the top document
is always on example.com as well, so we weren't exercising fission in it.
This patch puts the iframe on example.org, which highlighted some TargetList
test failures that this patch addresses.

Differential Revision: https://phabricator.services.mozilla.com/D85812
2020-08-05 08:27:23 +00:00
Julian Descottes 064e9e3b54 Bug 1655985 - Move devtools/server/actors/descriptors/watcher up one level r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D85966
2020-08-05 12:00:58 +00:00
Julian Descottes 9208b6c499 Bug 1657104 - Support onResourceUpdated for server resources r=ochameau,devtools-backward-compat-reviewers,nchevobbe
Depends on D85881

Differential Revision: https://phabricator.services.mozilla.com/D85882
2020-08-05 08:59:42 +00:00
Julian Descottes 44ff0cd41b Bug 1657104 - Support onResourceDestroyed for server resources r=ochameau
Depends on D85879

Differential Revision: https://phabricator.services.mozilla.com/D85881
2020-08-04 20:33:56 +00:00
Julian Descottes de9f625f0f Bug 1657104 - Homogeneize APIs for destroyed/updated resources in DevTools ResourceWatcher r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85879
2020-08-05 06:42:25 +00:00
Bogdan Tara 56e3736afb Backed out changeset ac5dc4c13464 (bug 1656706) for prefixNeeded related failures 2020-08-05 07:31:48 +03:00
Itiel bcfc9fbe66 Bug 1656706 - Fix prefixed properties being displayed incorrectly in the Compatibility panel, for RTL r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D85663
2020-08-05 03:47:28 +00:00
Neil Deakin 827e22ea0b Bug 1656095, remove frame script from browser_saveHeapSnapshot_e10s_01.js, r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D85344
2020-07-31 07:51:06 +00:00
Bogdan Tara 91572b9250 Backed out changeset 2d126d9f7ef8 (bug 1653290) for /browser_markup_overflow_badge.js failures CLOSED TREE 2020-08-04 22:36:58 +03:00
Logan Smyth 06838cf425 Bug 917963 - Implement break on first script statement. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D85198
2020-08-04 18:46:48 +00:00
wartmanm f4757d7c63 Bug 1656726 - Pause On Exceptions, DOM mutation breakpoints, debugger statements pause in blackboxed original sources r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D85718
2020-08-04 18:41:53 +00:00
manas 95bf33558a Bug 1653290 - Add overflow badge and show an overflow badge for every scroll causing element dynamically and a test to check its working. r=gl,devtools-backward-compat-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D84333
2020-08-04 17:17:26 +00:00
Brad Werth 627581e215 Bug 1621655: Make browser_styleeditor_media_sidebar_links.js test await RDM content reflow. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D85793
2020-08-04 15:08:19 +00:00
Sebastian Streich bf58055b03 Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-08-04 11:10:41 +00:00
Stepan Stava 1db60f22b9 Bug 1644250 - Make 'addException' action reusable. r=nchevobbe.
Makes `addException` more reusable in the form that can be used with exceptions objects that have different properties than a `resource` object from the `resourceWatcher`.
Fixes a typo in `Exception.js`.
Fixes incorrectly set property `sourceId` in `addEditorExceptionLine()` in `Exception.js`.

Differential Revision: https://phabricator.services.mozilla.com/D78883
2020-08-04 13:57:27 +00:00
Julian Descottes a315a1a0f0 Bug 1656170 - Update package name used to detect Fenix via ADB r=daisuke
The Fenix package name is now org.mozilla.firefox and not org.mozilla.fenix.
We need to update the logic in ADB to accommodate for this change.

Differential Revision: https://phabricator.services.mozilla.com/D85396
2020-08-01 09:24:00 +00:00
Mihai Alexandru Michis 911fad88f8 Bug 1655183 - Disable browser_resources_network_events.js on linux r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D85667
2020-08-03 15:24:46 +00:00
Kyle Knaggs b32b1c0949 Bug 1656035 - Remove CSS rule that wraps directory root header on to multiple lines r=davidwalsh
Before this change whenever the directory root header extends to the edge of the Primary pane a `flex-wrap` CSS rule in the `.sources-clear-root` selector breaks the directory root header text on to multiple lines. This patch removes this rule and fixes this bug.

{F2380491}

Differential Revision: https://phabricator.services.mozilla.com/D85400
2020-08-03 14:30:32 +00:00
Julian Descottes 3492cc6219 Bug 1655427 - Remove usage of allowMatchingRejectionsGlobally in inspector r=ochameau,nchevobbe
Using allowMatchingRejectionsGlobally in a test will leak to all the tests running after it in the same suite. We should avoid using it as much as possible.

Differential Revision: https://phabricator.services.mozilla.com/D84963
2020-08-03 14:29:09 +00:00
Julian Descottes 32de28696d Bug 1656825 - Fix duplicate calls to lazyRequireGetter r=nchevobbe
Depends on D85288

Differential Revision: https://phabricator.services.mozilla.com/D85720
2020-08-03 07:53:50 +00:00
Taegeon Lee 7d84058c16 Bug 1621889 Remove unused originalRegisteredPool in Thread.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D85659
2020-08-03 07:06:14 +00:00
Julian Descottes 72a1334982 Bug 1472821 - Move webconsole fixture mapping for async-storage in requireHacker r=nchevobbe
Depends on D85269

Differential Revision: https://phabricator.services.mozilla.com/D85288
2020-08-01 10:49:42 +00:00
Julian Descottes 4430f1a349 Bug 1472821 - Use array of properties to call lazyRequireGetter in inspector actors r=rcaliman
Depends on D85280

To illustrate the added value of supporting arrays in lazyRequireGetter

Differential Revision: https://phabricator.services.mozilla.com/D85269
2020-08-01 10:49:07 +00:00
Julian Descottes 3af62a1e27 Bug 1472821 - Support array of String for lazyRequireGetter r=nchevobbe,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D85268
2020-08-03 05:43:59 +00:00
Dorel Luca 419e9ccc2c Backed out 2 changesets (bug 1644194) for Devtools failures in /browser_browser_toolbox_fission_contentframe_inspector.js
Backed out changeset 5786eef0515a (bug 1644194)
Backed out changeset a5147f70d344 (bug 1644194)
2020-08-03 05:13:04 +03:00
Daisuke Akatsuka a6ec7957c6 Bug 1644194: Add a test for CSS change watcher. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85240
2020-07-31 08:17:25 +00:00
Daisuke Akatsuka 7812b6ddf1 Bug 1644194: Implement CSS change watcher. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85239
2020-08-02 22:43:20 +00:00
Sylvestre Ledru 843f943758 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D85678
2020-08-02 15:29:15 +00:00
Jeremy Ir 20235b390f Bug 1531609 part 1 - Rename overflow:-moz-hidden-unscrollable to overflow:clip. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D73716
2020-08-01 01:56:58 +00:00
Butkovits Atila cc95b93cba Backed out 3 changesets (bug 1635473, bug 1531609) for reftest failures. CLOSED TREE
Backed out changeset 1e7b32808be8 (bug 1531609)
Backed out changeset e64a61869cdb (bug 1531609)
Backed out changeset 6da37d7f6dd3 (bug 1635473)
2020-07-31 23:56:54 +03:00
Razvan Caliman 8a93c20985 Bug 1656477 - Do not react to cached DOCUMENT_EVENT resources in Changes panel. r=daisuke
This patch is borrowing a change that's coming with D85239 to fix the issue that the Changes panel shows as empty when it should show changes tracked in the background (before the Changes panel is opened).

The reason, as identified in D85239, is that the Changes panel reacts to `DOCUMENT_EVENT` resources which are cached in the resource watcher. The Changes panel thinks that the document is reloading so it clears all the changes that were collected. The result in an empty Changes panel.

The screenshot below shows the resource types and the order in which they arrive:
{F2382929}

Differential Revision: https://phabricator.services.mozilla.com/D85603
2020-07-31 17:06:33 +00:00
Yura Zenevich 46631a3015 Bug 1655053 - updating color vision deficiency simulation in accessibility panel. r=jdescottes
* removing simulations for protanomaly, deuteranomaly and tritanomaly
* updating (fixing) the color matrices for protanopia, deuteranopia and tritanopia
* adding a matrix to simulate achromatopsia

Co-authored-by: Matthew Petroff <mozilla@mpetroff.net>

Differential Revision: https://phabricator.services.mozilla.com/D85508
2020-07-31 16:58:01 +00:00
Jeremy Ir 92b8f0f77a Bug 1531609 part 1 - Rename overflow:-moz-hidden-unscrollable to overflow:clip. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D73716
2020-07-31 16:40:48 +00:00
Hubert Boma Manilla 74ccbad5fb Bug 1656388 - Send the waiting time to the UI r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D85501
2020-07-31 13:03:53 +00:00
Hubert Boma Manilla 2d4e7017fa Bug 1523614 Add copy/copy all context menu for headers summary and properties view r=nchevobbe
Add a new context menu for the headers sidepanel with , Copy and Copy all

Differential Revision: https://phabricator.services.mozilla.com/D76293
2020-07-31 15:51:49 +00:00
Daisuke Akatsuka 68aa4aa0fa Bug 1478688: Revert browser_styleeditor_fetch-from-netmonitor test. r=ochameau
Depends on D85370

Differential Revision: https://phabricator.services.mozilla.com/D85371
2020-07-31 01:33:44 +00:00
Daisuke Akatsuka 4a9d8ddf56 Bug 1478688: Remove no longer used code from network monitor actor. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85370
2020-07-30 13:43:31 +00:00
Geoff Brown 600ac99bbe Bug 1647187 - Update test browser_resources_network_events.js; r=bomsy
Minor test change to keep browser_resources_network_events.js passing with Object.is
comparisons.

Differential Revision: https://phabricator.services.mozilla.com/D85401
2020-07-30 18:50:26 +00:00
Hubert Boma Manilla eb5f181cd0 Bug 1656193 - Use the browserId instead of BrowsingContextID r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85380
2020-07-30 18:47:08 +00:00
Bogdan Tara 7bb955b1ad Backed out 3 changesets (bug 1647187) for browser_resources_network_events.js failures CLOSED TREE
Backed out changeset 8aec19091f93 (bug 1647187)
Backed out changeset 61f435541932 (bug 1647187)
Backed out changeset 50edc5736947 (bug 1647187)
2020-07-30 21:46:17 +03:00
Geoff Brown e7a179ce13 Bug 1647187 - Update test browser_resources_network_events.js; r=bomsy
Minor test change to keep browser_resources_network_events.js passing with Object.is
comparisons.

Differential Revision: https://phabricator.services.mozilla.com/D85401
2020-07-30 17:19:32 +00:00
Nathan Froyd e3ebda1914 Bug 1223932 - delete guard object uses from the tree; r=jwalden
CLOSED TREE

We don't need these macros anymore, for two reasons:

1. We have static analysis to provide the same sort of checks via `MOZ_RAII`
   and friends.
2. clang now warns for the "temporary that should have been a declaration" case.

The extra requirements on class construction also show up during debug tests
as performance problems.

This change was automated by using the following sed script:

```
# Remove declarations in classes.
/MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER/d
/MOZ_GUARD_OBJECT_NOTIFIER_INIT/d

# Remove individual macros, carefully.
{
  # We don't have to worry about substrings here because the closing
  # parenthesis "anchors" the match.
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_TO_PARENT)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_IN_IMPL)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_IN_IMPL)/)/g;

  # Remove the longer identifier first.
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_TO_PARENT//g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM//g;
}

# Remove the actual include.
\@# *include "mozilla/GuardObjects.h"@d
```

and running:

```
find . -name \*.cpp -o -name \*.h | grep -v 'GuardObjects.h' |xargs sed -i -f script 2>/dev/null
mach clang-format
```

Differential Revision: https://phabricator.services.mozilla.com/D85168
2020-07-30 14:22:38 +00:00
Mihai Alexandru Michis a911a108d0 Backed out changeset ac9c811bc427 (bug 1223932) for causing spidermonkey rust failures.
CLOSED TREE
2020-07-30 18:23:21 +03:00
Julian Descottes b6490f5a49 Bug 1582594 - Wait for flexbox store update after selection in browser_markup_flex_display_badge r=rcaliman
This test is highly intermittent locally, and it seems to be spiking on try since bug 1633727.
The issue is that we try to click on the "flex" badge too quickly after selecting the node, before the flexbox store has had time to update.

Differential Revision: https://phabricator.services.mozilla.com/D85403
2020-07-30 14:37:31 +00:00
Nathan Froyd bec9f9b93a Bug 1223932 - delete guard object uses from the tree; r=jwalden
We don't need these macros anymore, for two reasons:

1. We have static analysis to provide the same sort of checks via `MOZ_RAII`
   and friends.
2. clang now warns for the "temporary that should have been a declaration" case.

The extra requirements on class construction also show up during debug tests
as performance problems.

This change was automated by using the following sed script:

```
# Remove declarations in classes.
/MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER/d
/MOZ_GUARD_OBJECT_NOTIFIER_INIT/d

# Remove individual macros, carefully.
{
  # We don't have to worry about substrings here because the closing
  # parenthesis "anchors" the match.
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_TO_PARENT)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_IN_IMPL)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_IN_IMPL)/)/g;

  # Remove the longer identifier first.
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_TO_PARENT//g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM//g;
}

# Remove the actual include.
\@# *include "mozilla/GuardObjects.h"@d
```

and running:

```
find . -name \*.cpp -o -name \*.h | grep -v 'GuardObjects.h' |xargs sed -i -f script 2>/dev/null
mach clang-format
```

Differential Revision: https://phabricator.services.mozilla.com/D85168
2020-07-30 14:22:38 +00:00
Yura Zenevich 86b660210e Bug 1653186 - fix highlighter in about:addons (ensure that the highlighter markup nodes are created using the correct window/document). r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85191
2020-07-30 14:00:11 +00:00
Yura Zenevich e9437a481d Bug 1650094 - making the box model highlighter work in the browser toolbox. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D81476
2020-07-30 14:00:03 +00:00
Yura Zenevich e65360bcf3 Bug 1648161 - update code paths where canvas helper was expected to insert synchronously. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D82416
2020-07-30 13:59:53 +00:00