Julian Descottes
d78bdfe181
Bug 1731323 - [devtools] Wait for panel reload in browser_aboutdebugging_addons_debug_reload.js r=Honza
...
Reuse helper from shared-head.js to wait for the currently selected panel to be reloaded in the intermittent test.
Differential Revision: https://phabricator.services.mozilla.com/D130154
2021-11-05 10:20:09 +00:00
Alexandre Poirot
3361a09b16
Bug 1675456 - [devtools] Support reloading the current document debugged for a WebExtension. r=nchevobbe
...
Without this, the webconsole fails to execute anything after reloading the add-on document.
Can reproduce by running `location.reload()` in the console.
Differential Revision: https://phabricator.services.mozilla.com/D129009
2021-11-03 11:08:54 +00:00
Geoff Lankow
58b170669d
Bug 1698112 - Stop referencing browser files from toolkit, and prevent it happening again with a test. r=preferences-reviewers,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D128974
2021-10-21 21:54:52 +00:00
Emilio Cobos Álvarez
c4b7109fac
Bug 1736038 - Remove -moz-toolbar-prefers-color-scheme. r=dao
...
By making prefers-color-scheme return the ColorSchemeForChrome(), which
accounts for the Firefox theme.
Differential Revision: https://phabricator.services.mozilla.com/D128611
2021-10-15 16:53:08 +00:00
Julian Descottes
e8126118d9
Bug 1734178 - Ensure tests within devtools/client/aboutdebugging are https-first compliant r=bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D127917
2021-10-11 08:01:46 +00:00
Jon Barson
373f4c8629
Bug 1733063 hides light and dark mode buttons in the inspector when no chrome on window r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D127744
2021-10-07 07:18:59 +00:00
Julien Wajsberg
aa19185a0b
Bug 1729428 - [devtools performance] Add a test to check that settings are properly applied when profiling in about:debugging r=jdescottes
...
Depends on D124973
Differential Revision: https://phabricator.services.mozilla.com/D124974
2021-09-10 12:28:42 +00:00
Julien Wajsberg
85a8a8079d
Bug 1729428 - [devtools performance] In tests, load the real profiler UI in about:debugging instead of a blank page r=jdescottes
...
Depends on D124972
Differential Revision: https://phabricator.services.mozilla.com/D124973
2021-09-10 12:28:41 +00:00
Julian Descottes
df5701fd64
Bug 1688067 - [devtools] Repurpose refreshTab as reloadBrowser and use in browser_toolbox_error_count_reset_on_navigation.js r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D124168
2021-09-01 19:24:24 +00:00
Julian Descottes
a53ee5bf0b
Bug 1724186 - [devtools] Rely on promise instead of message in sw push mochitests r=Honza
...
Differential Revision: https://phabricator.services.mozilla.com/D122696
2021-08-17 11:18:47 +00:00
Nika Layzell
f0aa6596df
Bug 1650089 - Part 7: Avoid process-switching in devtools test to keep it passing, r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D121286
2021-08-10 14:31:18 +00:00
Butkovits Atila
22fb2b6793
Backed out 8 changesets (bug 1650089) for causing Xpcshell failures on test_ext_redirects.js. CLOSED TREE
...
Backed out changeset ee763318d378 (bug 1650089)
Backed out changeset 24d7898ec4bd (bug 1650089)
Backed out changeset bcdd2f5c9840 (bug 1650089)
Backed out changeset 24a5bd7f97dd (bug 1650089)
Backed out changeset 1b8b4e939e82 (bug 1650089)
Backed out changeset a7a4f37a5d72 (bug 1650089)
Backed out changeset 78c012d4b071 (bug 1650089)
Backed out changeset e870508c1ddc (bug 1650089)
2021-08-06 04:35:52 +03:00
Nika Layzell
12dde3f1e0
Bug 1650089 - Part 7: Avoid process-switching in devtools test to keep it passing, r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D121286
2021-08-06 00:10:58 +00:00
Alexandru Michis
5ca72bfc53
Backed out 7 changesets (bug 1650089) for causing xpcshell failures in test_ext_cookieBehaviors.js
...
Backed out changeset 336d6eb2fc15 (bug 1650089)
Backed out changeset 283ba29cdbeb (bug 1650089)
Backed out changeset c470e4c65117 (bug 1650089)
Backed out changeset 8fc2f428694d (bug 1650089)
Backed out changeset 37e5185dae14 (bug 1650089)
Backed out changeset a26afdc56d91 (bug 1650089)
Backed out changeset 32e207558b3d (bug 1650089)
2021-08-04 12:32:07 +03:00
Nika Layzell
d9a5f40263
Bug 1650089 - Part 7: Avoid process-switching in devtools test to keep it passing, r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D121286
2021-08-03 18:17:56 +00:00
Noemi Erli
6cd9318b66
Backed out 7 changesets (bug 1650089) foe causing bustages in ProcessIsolation.cpp
...
Backed out changeset 4e73beb8872c (bug 1650089)
Backed out changeset 092451e931ce (bug 1650089)
Backed out changeset ca9ba60010c6 (bug 1650089)
Backed out changeset ee61b69ba556 (bug 1650089)
Backed out changeset 091c4efa36a7 (bug 1650089)
Backed out changeset dbdee40ef8a0 (bug 1650089)
Backed out changeset 54d12a4333a0 (bug 1650089)
2021-08-03 20:15:54 +03:00
Nika Layzell
522b23739a
Bug 1650089 - Part 7: Avoid process-switching in devtools test to keep it passing, r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D121286
2021-08-03 15:39:36 +00:00
Christoph Kerschbaumer
4a6250387f
Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 19:16:16 +00:00
Sandor Molnar
68cdec0548
Backed out changeset 7eb8945dd8e3 (bug 1719272) for causing bustages in gecko decision task. CLOSED TREE
2021-07-28 19:47:06 +03:00
Christoph Kerschbaumer
bb716f0701
Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 16:08:07 +00:00
Markus Stange
e33b60e05f
Bug 1721072 - Stop supplying a perfFront argument to about:profiling's gInit function. r=canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D120163
2021-07-22 18:54:30 +00:00
Markus Stange
cee8a0562e
Bug 1721072 - Properly await gInit's completion. r=canaltinova
...
Now `gDevTools.showToolboxForTab` will only finish once `gInit` is done.
Without this, the test helper function `withDevToolsPanel` would sometimes
call the callback before `panelWin.gStore` was assigned, leading to test
failures. I noticed this when I added another `await` to `gInit`, which
affected ordering.
Differential Revision: https://phabricator.services.mozilla.com/D120153
2021-07-22 18:54:26 +00:00
Julian Descottes
281bb4cb1c
Bug 1718279 - [devtools] Addon toolbox reload should use the addon manager r=ochameau
...
Depends on D118473
Differential Revision: https://phabricator.services.mozilla.com/D118851
2021-07-06 07:02:31 +00:00
Nicolas Chevobbe
b3c27c1417
Bug 1715905 - [devtools] Replace usage of targetFront#navigate with DOCUMENT_EVENT dom-complete resource in tests. r=ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D118570
2021-06-23 15:33:55 +00:00
Yaron Tausky
768366d7b8
Bug 1496997 - Remove dom.serviceWorkers.parent_intercept pref r=asuth,dom-workers-and-storage-reviewers,perftest-reviewers,jgraham,sparky,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D101788
2021-06-15 08:52:39 +00:00
Julian Descottes
72d0779bd0
Bug 1714885 - [devtools] Consolidate dark theme customizations for aboutdebugging in base.css r=daisuke
...
All the customizations for dark theme now use variables defined in base.css
Differential Revision: https://phabricator.services.mozilla.com/D117277
2021-06-10 12:16:19 +00:00
Olli Pettay
f0114836f9
Bug 1714426 - Disable bfcache in parent for the currently failing tests, r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D116768
2021-06-04 15:07:56 +00:00
Alexander Johansen
53a6b651b4
Bug 1712511 - Add a Dark Theme to aboutdebugging. r=daisuke,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D115767
2021-06-03 19:05:29 +00:00
Alexandre Poirot
653a9b8293
Bug 1713806 - [devtools] Fix lint in browser_aboutdebugging_devtoolstoolbox_splitconsole_key.js. CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D116495
2021-06-01 16:39:09 +00:00
Alexandre Poirot
55e05f9618
Bug 1713806 - [devtools] Wait for full loading of the console in browser_aboutdebugging_devtoolstoolbox_splitconsole_key.js. r=jdescottes
...
Without this, the new pending call to watchResources throws because we close the toolbox while the console still initiates.
Differential Revision: https://phabricator.services.mozilla.com/D116489
2021-06-01 16:09:22 +00:00
Alexandre Poirot
2466a0adea
Bug 1712686 - [devtools] Pull DevToolsClient from commands object instead of target fronts. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D115862
2021-05-26 08:23:34 +00:00
Alexandre Poirot
f9fa5abc56
Bug 1699111 - [devtools] Rename DevToolsClient._closed to _transportClosed. r=jdescottes
...
This better highlight that may only be the transport that is closed and not the whole client.
But at the end, both should follow the same lifecycle and be destroyed altogether.
Differential Revision: https://phabricator.services.mozilla.com/D108813
2021-04-13 13:44:24 +00:00
Julian Descottes
6ab57dcec5
Bug 1702078 - [devtools] a11y panel should emit ready event after rendering the UI r=ochameau,perftest-reviewers
...
With the previous implementation, the toolbox would resolve the panel before all the initialization data had been retrieved.
This could lead to issues if we tried to destroy the toolbox right after the panel got selected.
Differential Revision: https://phabricator.services.mozilla.com/D110247
2021-04-08 11:48:52 +00:00
Sebastian Hengst
edde618936
Backed out changeset 3c11553b2e79 (bug 1702078) for damp failure in accessibility/cold-open.js. CLOSED TREE
2021-04-07 21:49:32 +02:00
Julian Descottes
77b6b45811
Bug 1702078 - [devtools] a11y panel should emit ready event after rendering the UI r=ochameau
...
With the previous implementation, the toolbox would resolve the panel before all the initialization data had been retrieved.
This could lead to issues if we tried to destroy the toolbox right after the panel got selected.
Differential Revision: https://phabricator.services.mozilla.com/D110247
2021-04-07 16:02:25 +00:00
Julian Descottes
1e32445f35
Bug 1699619 - [devtools] Wait for a11y panel initialization in browser_aboutdebugging_devtoolstoolbox_reload r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D110345
2021-03-31 11:38:59 +00:00
Sam Foster
e0ab2c08fe
Bug 1699858 - Avoid using the toolkit/global icons which are about to change for proton. r=nchevobbe,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D109186
2021-03-24 19:06:27 +00:00
Butkovits Atila
87e6f49fe0
Backed out changeset 9904b1dafade (bug 1699858) for causing failures at browser_styleinspector_tooltip-background-image.js. CLOSED TREE
2021-03-24 03:15:07 +02:00
Sam Foster
c5f8501ed8
Bug 1699858 - Avoid using the toolkit/global icons which are about to change for proton. r=nchevobbe,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D109186
2021-03-23 22:48:24 +00:00
Butkovits Atila
f632200fb8
Backed out changeset 1d7fcfd34752 (bug 1699858) for causing build bustages. CLOSED TREE
2021-03-23 20:28:57 +02:00
Sam Foster
24df036753
Bug 1699858 - Avoid using the toolkit/global icons which are about to change for proton. r=nchevobbe,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D109186
2021-03-23 17:36:46 +00:00
Alexandre Poirot
ded026f627
Bug 1700106 - [devtools] Remove now-useless eslint files related to mochitests. r=jdescottes,Standard8
...
I kept a few having some overrides. But they may be irrelevant.
And I kept some eslint files for all folder that aren't matching the pattern matching "**/test*/**/browser*/".
Ideally we would rename these folder to match.
Last but not least, I identified one case where we were using mochitest file for xpcshell tests!
Differential Revision: https://phabricator.services.mozilla.com/D109481
2021-03-23 15:51:18 +00:00
Tim Nguyen
6bb5c3f20a
Bug 1697665 - Update common.css checkbox/radio image & sizing to match photon spec. r=Itiel
...
Differential Revision: https://phabricator.services.mozilla.com/D107940
2021-03-11 21:15:05 +00:00
Julian Descottes
21f2a85405
Bug 1697391 - [devtools] Use a shared waitForDispatch helper in devtools mochitests r=ochameau
...
Depends on D107675
Differential Revision: https://phabricator.services.mozilla.com/D107794
2021-03-10 13:37:16 +00:00
Julian Descottes
49271c402b
Bug 1697234 - [devtools] Add breakpoints test with about:devtools-toolbox r=ochameau
...
Depends on D107674
The test added here will timeout without the fix from https://bugzilla.mozilla.org/show_bug.cgi?id=1697184
Differential Revision: https://phabricator.services.mozilla.com/D107675
2021-03-10 13:37:15 +00:00
Julian Descottes
d93227449c
Bug 1697234 - [devtools] Rename aboutdebugging test helpers to avoid clashes with debugger helpers r=ochameau
...
waitForDispatch & waitForRequestsToSettle are both defined by the shared mochitest/helpers.js file from the debugger.
Need to namespace the ones in aboutdebugging to avoid clashes
Differential Revision: https://phabricator.services.mozilla.com/D107674
2021-03-10 13:37:14 +00:00
Julian Descottes
37572899bc
Bug 1694497 - [devtools] Set correct document direction for about:debugging's profiler dialog r=ladybenko
...
When opening the profiler dialog iframe, set the contentWindow.document direction based on the direction from the aboutdebugging document.
Add a test to check rtl is correctly set as the document direction for both about:debugging and the profiler dialog documents.
Differential Revision: https://phabricator.services.mozilla.com/D107209
2021-03-10 12:29:11 +00:00
Julian Descottes
0def910234
Bug 1600291 - [devtools] Remove gDevToolsBrowser.openWorkerToolbox r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D105780
2021-02-22 13:40:42 +00:00
Gabriel Luong
1c278ebe57
Bug 1690340 - Part 1: Hide all the panel tools in the developer tools menu. r=jdescottes
...
For now, we hide all the individual panel tools from the developer tools menu.
We will want to evaluate whether or not to remove all the logic for adding all
the tools to the menu in the future if we see a permanent need for no longer
having it.
See https://searchfox.org/mozilla-central/rev/d3343662ce0aced933b30e053b33c93f759292eb/devtools/client/framework/browser-menus.js#197
Differential Revision: https://phabricator.services.mozilla.com/D104868
2021-02-16 22:37:22 +00:00
Nicolas Chevobbe
7c89402dfc
Bug 1668218 - [devtools] Enable new perf panel on Nightly. r=julienw,jdescottes.
...
Depends on D104155
Differential Revision: https://phabricator.services.mozilla.com/D104206
2021-02-12 17:11:02 +00:00