Alexandre Poirot
799f3778e3
Bug 1719615 - [devtools] Merge existing wasm tests into a unique "features" test. r=bomsy,yury
...
The sourcemaps one was disabled.
In the new test, I'm now trying to assert the intermediate behavior of the debugger
when we haven't reloaded the page yet.
The test now also assert much more things about the content being displayed.
And also check for breakable lines.
Differential Revision: https://phabricator.services.mozilla.com/D141334
2022-03-24 21:03:42 +00:00
Alexandre Poirot
8072e8c62b
Bug 1719615 - [devtools] Enable 'observeWasm' only once the debugger is opened. r=yury,bomsy
...
Because WASM debugging triggers different machine code with debugging instruction,
the memory usage very significantly increase.
So avoid enabling it until the debugger is opened.
Differential Revision: https://phabricator.services.mozilla.com/D140069
2022-03-24 21:03:41 +00:00
Yury Delendik
b8128f1562
Bug 1719615 - Add observeWasm in addition to observeAsmJS. r=lth
...
Differential Revision: https://phabricator.services.mozilla.com/D123626
2022-03-24 21:03:41 +00:00
Claudia
291e4034b3
Bug 1750245 - [devtools] Adds test for basic functionality of the new HTTP Custom request panel r=bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D138659
2022-03-24 09:43:32 +00:00
Butkovits Atila
029877bddb
Bug 1750199 - disable browser_dbg-breakpoints-popup.js on Linux_64_debug for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D141928
2022-03-24 04:17:14 +00:00
Julian Descottes
cfc887ddba
Bug 1760992 - [devtools] Prevent picking UA shadowRoot elements by default r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D141844
2022-03-24 01:31:10 +00:00
Butkovits Atila
84d4ef5c42
Backed out changeset aaf04c8ba59a (bug 1760992) for causing failures at browser_inspector_picker-useragent-widget.js.CLOSED TREE
2022-03-24 02:23:00 +02:00
Julian Descottes
7641e81228
Bug 1760992 - [devtools] Prevent picking UA shadowRoot elements by default r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D141844
2022-03-23 23:11:34 +00:00
amy churchwell
13ecbc516a
Bug 1754268 - Eliminate preprocessor %includes from toolkit in-content stylesheets. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D141071
2022-03-23 18:23:55 +00:00
Alexandre Poirot
70cb60e146
Bug 1759987 - [devtools] Better assert paused line and column. r=bomsy
...
In _assertDebugLine, we weren't really asserting the actual paused column in CodeMirror.
And for both line and column, we weren't asserting the line and column passed
to assertPausedAtSourceAndLine. Instead it was using selector's values.
browser_browser_toolbox_debugger.js was having issues with the new assertion.
The column markers were set at wrong positions.
I simplified the test script to workaround this.
But I tracked it down to Debugger's Script.getOffsetMetadata returning buggy offsets.
Differential Revision: https://phabricator.services.mozilla.com/D141435
2022-03-23 18:17:51 +00:00
Alexandre Poirot
862f8ae873
Bug 1759987 - [devtools] Drop assertDebugLine in favor of assertPausedAtSourceAndLine. r=bomsy
...
I'm keeping the method as it is part of assertPausedAtSourceAndLine,
but make it a private helper that should only be used within shared-head.js.
Differential Revision: https://phabricator.services.mozilla.com/D141434
2022-03-23 18:17:50 +00:00
Alexandre Poirot
0df77da252
Bug 1759987 - [devtools] Drop assertPausedLocation in favor of assertPausedAtSourceAndLine. r=bomsy
...
The previous method wasn't really asserting the paused location.
In only ensured that reducer state was matching CodeMirror state.
Differential Revision: https://phabricator.services.mozilla.com/D141355
2022-03-23 18:17:50 +00:00
Emilio Cobos Álvarez
79f3fe026d
Bug 1759962 - Don't return the DPI override in devicePixelRatio to privileged code. r=nchevobbe,webdriver-reviewers
...
Chrome code should be able to rely on CSS pixel * devicePixelRatio =
device pixel.
Chrome code that cares about the override should use
BrowsingContext.overrideDPPX. We were exposing the no-override value in
WindowUtils but that's unneeded now.
Differential Revision: https://phabricator.services.mozilla.com/D141323
2022-03-23 17:03:04 +00:00
Emilio Cobos Álvarez
b75c39ad35
Bug 1760734 - Put overflow: -moz-hidden-unscrollable behind a pref on Nightly. r=dholbert
...
Differential Revision: https://phabricator.services.mozilla.com/D141759
2022-03-23 08:41:51 +00:00
Nicolas Chevobbe
3c144d6712
Bug 1760541 - [devtools] Don't reuse longString actors for same string.r=ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D141575
2022-03-23 06:11:30 +00:00
Nicolas Chevobbe
3306e6a5c1
Bug 1760540 - [devtools] Remove unused `forPreview` parameters. r=ochameau.
...
Looks like this is a leftover from WebReplay.
Differential Revision: https://phabricator.services.mozilla.com/D141573
2022-03-23 06:11:29 +00:00
smolnar
e8a0c58bd0
Backed out 3 changesets (bug 1759666, bug 1760541, bug 1760540) for causing talos damp failures. CLOSED TREE
...
Backed out changeset ec2f5253456e (bug 1759666)
Backed out changeset d0c9fc3a8d87 (bug 1760541)
Backed out changeset 30f81a7041c7 (bug 1760540)
2022-03-22 23:45:28 +02:00
Nicolas Chevobbe
69473c897a
Bug 1760541 - [devtools] Don't reuse longString actors for same string.r=ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D141575
2022-03-22 17:23:49 +00:00
Nicolas Chevobbe
9b260c53e3
Bug 1760540 - [devtools] Remove unused `forPreview` parameters. r=ochameau.
...
Looks like this is a leftover from WebReplay.
Differential Revision: https://phabricator.services.mozilla.com/D141573
2022-03-22 17:23:48 +00:00
Nicolas Chevobbe
4948379183
Bug 1760745 - [devtools] Prepare mocha for virtualization patch. r=jdescottes.
...
This is adding the private methods babel plugin and
defining a mock for Cu.
Differential Revision: https://phabricator.services.mozilla.com/D141714
2022-03-22 16:50:50 +00:00
Julian Descottes
359e0f9289
Bug 1756763 - [devtools] Regenerate DevTools worker bundles r=ochameau
...
Depends on D141231
Differential Revision: https://phabricator.services.mozilla.com/D141234
2022-03-22 11:43:00 +00:00
Julian Descottes
99bedf483e
Bug 1756763 - [devtools] Update validation for sourcemap resources fetching r=dveditz,ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D141231
2022-03-22 11:43:00 +00:00
wartmanm
4c2becb657
Bug 1748224 - Replace uses of makeShallowQuery with reselect r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D135620
2022-03-22 09:39:56 +00:00
Julian Descottes
babd0375eb
Bug 1760260 - [devtools] Skip debugger and console test suites on ASAN because of OOM when creating tabs r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D141459
2022-03-18 13:33:55 +00:00
Nicolas Chevobbe
025c64adbb
Bug 1752701 - [devtools] Fix error when expanding object with private getter. r=bomsy.
...
In PrivatePropertiesiteratorFront#_onResult, we were always
passing privateproperty.descriptor.value to getAdHocFrontOrPrimitiveGrip,
which was causing an error when dealing with getters.
This is fixed by doing the same thing we do in PropertyIteratorFront, i.e.
checking the multiple possible properties on the property descriptor.
The existing test around object with private properties is updated to
reflect this use case.
Differential Revision: https://phabricator.services.mozilla.com/D141224
2022-03-18 06:51:34 +00:00
Julian Descottes
656ac23d4d
Bug 1723949 - [devtools] Improve high contrast mode with about:debugging r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D141354
2022-03-17 18:00:42 +00:00
Doug Thayer
7e635a0223
Bug 1752925 - Suppress new script notifications for smart breakpoints r=arai
...
Profiles of code executing with conditional breakpoints or log points are
dominated by calls to onNewScript. This suppresses those.
Differential Revision: https://phabricator.services.mozilla.com/D138610
2022-03-17 17:02:24 +00:00
Nicolas Chevobbe
e4193f399b
Bug 1757581 - [devtools] Don't handle Ctrl/Cmd+U in JSTerm. r=jdescottes.
...
The shortcut is already used to open view-source and we want to let it through.
CodeMirror is using Ctrl+U for its undoSelection command, but it doesn't seem
like an important feature, so we can simply drop it.
Differential Revision: https://phabricator.services.mozilla.com/D141229
2022-03-17 15:51:27 +00:00
Iulian Moraru
d7c65853a6
Backed out changeset a4fa7289d582 (bug 1750199) for causing multiple dt failures. CLOSED TREE
2022-03-17 14:22:59 +02:00
Nicolas Chevobbe
572629b423
Bug 1750199 - [devtools] Fix browser_dbg-breakpoints-popup.js intermittent. r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D141238
2022-03-17 10:02:14 +00:00
Alexandre Poirot
f43adbd031
Bug 1759822 - [devtools] Group to the top of shared-head all intructions before all function definitions. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D141223
2022-03-16 19:11:59 +00:00
Alexandre Poirot
e8ba71090d
Bug 1759822 - [devtools] Move checkPoolChildrenSize to the one test using this helper. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D141192
2022-03-16 19:11:58 +00:00
Alexandre Poirot
132536a105
Bug 1759822 - [devtools] Use shared waitUntilScreenshot method. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D141191
2022-03-16 19:11:58 +00:00
Alexandre Poirot
570f8b932b
Bug 1759822 - [devtools] Move waitForTitleChange to the one test using this. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D141190
2022-03-16 19:11:58 +00:00
Alexandre Poirot
3272cdee66
Bug 1759822 - [devtools] Move lookupPath to helper_markup_accessibility_navigation.js. r=jdescottes
...
As that's the only place where it is used.
Differential Revision: https://phabricator.services.mozilla.com/D141189
2022-03-16 19:11:57 +00:00
Alexandre Poirot
f9c0659b22
Bug 1759822 - [devtools] Move getSupportedToolIds to framework test helper. r=jdescottes
...
As this is only used by this folder.
Differential Revision: https://phabricator.services.mozilla.com/D141188
2022-03-16 19:11:57 +00:00
Alexandre Poirot
a226f04b9d
Bug 1759741 - [devtools] Remove shared-redux-head being redundant with shared-head.js r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D141139
2022-03-16 19:11:57 +00:00
Alexandre Poirot
2fc4b0e5fb
Bug 1759741 - [devtools] Start using shared-head by a first xpcshell test. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D141138
2022-03-16 19:11:56 +00:00
Luca Greco
6c2b9571fb
Bug 1748529 - Show extensions non-persistent background script status changes in about:debugging. r=jdescottes,mixedpuppy,fluent-reviewers,devtools-backward-compat-reviewers,flod,ochameau
...
Depends on D140379
Differential Revision: https://phabricator.services.mozilla.com/D139701
2022-03-16 15:17:42 +00:00
Luca Greco
60977ffe23
Bug 1748529 - Allow developer to forcefully terminate non-persistent background script from about:debugging. r=jdescottes,mixedpuppy,fluent-reviewers,devtools-backward-compat-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D140379
2022-03-16 15:17:42 +00:00
Alexandre Poirot
6ae637e5d7
Bug 1757937 - [devtools] Fix race condition when toggling expand all context menu. r=bomsy
...
We weren't waiting for the context menu to hide when clicking on the menu entry.
Differential Revision: https://phabricator.services.mozilla.com/D141186
2022-03-16 12:56:57 +00:00
Alexandre Poirot
d18ce9479c
Bug 1757937 - [devtools] Assert limited debugging of asm.js code before reloading the page. r=bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D140195
2022-03-16 12:56:56 +00:00
Norisz Fay
075ac31448
Bug 1721743 - [devtools] Fix lint failure r=fix CLOSED TREE
2022-03-16 11:55:26 +02:00
Julian Descottes
b91575de7f
Bug 1721743 - [devtools] Wait for ruleview property in browser_rules_preview-tooltips-sizes.js r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D141106
2022-03-16 09:00:38 +00:00
Julian Descottes
5bb2a7a008
Bug 1737387 - [devtools] Add option to wait for devices list in openRDM r=ochameau
...
Depends on D141021
Differential Revision: https://phabricator.services.mozilla.com/D141088
2022-03-15 23:22:23 +00:00
Alexandre Poirot
d2bd129d14
Bug 1759146 - [devtools] Avoid unexpected GC while running testSourceTextContent. r=bomsy
...
This test assert that the debugger doesn't get unexpected request while debugging a page.
But for that, we should open the page while the debugger is opened.
Otherwise the page resources might be GC-ed, forcing the debugger to fetch some content again.
Differential Revision: https://phabricator.services.mozilla.com/D141078
2022-03-15 21:58:29 +00:00
Alexandre Poirot
134f0a9934
Bug 1757064 - [devtools] Fix browser_dbg-inspector-integration.js intermittents. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D141079
2022-03-15 16:11:37 +00:00
Nicolas Chevobbe
2eebde76b0
Bug 1759136 - [devtools] Fix Reps TODOs for mode PropType. r=Honza.
...
Differential Revision: https://phabricator.services.mozilla.com/D140836
2022-03-15 13:47:54 +00:00
Nicolas Chevobbe
3deb67ed8a
Bug 1759135 - [devtools] Create distinct set of Reps for JSONViewer. r=Honza
...
Differential Revision: https://phabricator.services.mozilla.com/D140835
2022-03-15 13:47:53 +00:00
Julian Descottes
7708693811
Bug 1737387 - [devtools] Destroy the RDM frame before disconnecting it from the parent document r=ochameau
...
Depends on D140959
Differential Revision: https://phabricator.services.mozilla.com/D141021
2022-03-15 13:06:25 +00:00