Nicolas Chevobbe
2f8b59dc62
Bug 1566850 - Remove target.activeConsole usage in tests. r=ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D56688
2019-12-13 13:58:54 +00:00
Kris Maglione
7b2657b231
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
2019-12-13 20:36:24 +00:00
Kris Maglione
8c0d38f33d
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
2019-12-13 20:36:16 +00:00
shindli
9969261559
Backed out 8 changesets (bug 1566850, bug 1603035) for causing perma bc failures in browser/components/extensions/test/browser/browser_ext_devtools_inspectedWindow.js CLOSED TREE
...
Backed out changeset da1672f831d1 (bug 1566850)
Backed out changeset b3aea303d3ed (bug 1566850)
Backed out changeset 3c8ef35fde92 (bug 1566850)
Backed out changeset 4deadf97378f (bug 1566850)
Backed out changeset 55ac64d74725 (bug 1566850)
Backed out changeset 33c4706a4255 (bug 1566850)
Backed out changeset 1796a39b020b (bug 1566850)
Backed out changeset ae02ae71f846 (bug 1603035)
2019-12-13 12:50:45 +02:00
Julian Descottes
fbd078a8ea
Bug 1602371 - Rename LocalTabTargetFront tab getter to localTab r=ochameau
...
Depends on D56330
Renaming the "tab" getter to "localTab" will make it easier to refactor later.
Differential Revision: https://phabricator.services.mozilla.com/D56331
2019-12-13 10:38:07 +00:00
Nicolas Chevobbe
b25e763547
Bug 1566850 - Remove target.activeConsole usage in tests. r=ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D56688
2019-12-13 09:10:33 +00:00
Julian Descottes
8d90139c27
Bug 1581093 - Fix blank DevTools window in private browsing, set private flag on host window r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D56636
2019-12-12 13:17:10 +00:00
Julian Descottes
cdf779c751
Bug 1525966 - Reject Error object instead of string in DevTools Front:onPacket r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D55829
2019-12-11 17:31:39 +00:00
shindli
0aa47af90e
Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
...
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione
eb68f8b548
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
2019-12-10 23:07:21 +00:00
Kris Maglione
ad3537fc50
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
2019-12-10 23:07:13 +00:00
Noemi Erli
21eec8658f
Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
...
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione
6fb2c35351
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
2019-12-07 18:44:34 +00:00
Kris Maglione
88fbf261f8
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
2019-12-07 19:11:58 +00:00
Daniel Varga
85f263a4c2
Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
...
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione
487c4fe9c7
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
2019-12-06 22:14:22 +00:00
Kris Maglione
e59706f08a
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
2019-12-06 22:14:14 +00:00
Julian Descottes
09fa59d203
Bug 1600809 - Wait after moving window in devtools tooltip tests to avoid failures on ubuntu1804 r=daisuke
...
Differential Revision: https://phabricator.services.mozilla.com/D55787
2019-12-06 06:59:28 +00:00
Julian Descottes
686f5b8419
Bug 1598557 - Move all BrowserToolbox files to a dedicated folder r=ochameau
...
Depends on D54119
Differential Revision: https://phabricator.services.mozilla.com/D54265
2019-11-27 11:08:11 +00:00
Julian Descottes
2ada16da45
Bug 1598259 - Remove support for MOZ_TOOLBOX_TEST_SCRIPT in ToolboxProcess.jsm r=ochameau
...
Depends on D54118
Differential Revision: https://phabricator.services.mozilla.com/D54119
2019-11-22 18:32:02 +00:00
Julian Descottes
8a028710f8
Bug 1598259 - Migrate existing BrowserToolbox tests to ToolboxTask r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D54118
2019-11-22 18:30:38 +00:00
Razvan Maries
fd1c12749e
Backed out 2 changesets (bug 1598259) for dt perma fails. CLOSED TREE
...
Backed out changeset 38140fd01a52 (bug 1598259)
Backed out changeset 70b22c90ea2e (bug 1598259)
2019-11-22 19:36:38 +02:00
Julian Descottes
8319ad0424
Bug 1598259 - Remove support for MOZ_TOOLBOX_TEST_SCRIPT in ToolboxProcess.jsm r=ochameau
...
Depends on D54118
Differential Revision: https://phabricator.services.mozilla.com/D54119
2019-11-22 07:54:10 +00:00
Julian Descottes
05e804d446
Bug 1598259 - Migrate existing BrowserToolbox tests to ToolboxTask r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D54118
2019-11-22 07:53:52 +00:00
Alexandre Poirot
6f07ebeae6
Bug 1590401 - Refactor Front.onFront+onFrontDestroyed into Front.watchFronts. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D53881
2019-11-20 17:13:01 +00:00
Julian Descottes
9d7e73f79e
Bug 1594885 - Basic scaffolding for whatsnew panel in DevTools r=jlast,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D52733
2019-11-14 08:11:07 +00:00
Gurzau Raul
e1d7efa2af
Backed out changeset 1fb9356c0a94 (bug 1594885) for devtools failures at browser_toolbox_tools_per_toolbox_registration.js on a CLOSED TREE.
2019-11-14 03:53:42 +02:00
Brian Grinstead
b863966000
Bug 1595636 - Rename xul->xhtml for non-tests in DevTools r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D52711
2019-11-13 23:44:19 +00:00
Julian Descottes
4c6129e051
Bug 1594885 - Basic scaffolding for whatsnew panel in DevTools r=jlast,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D52733
2019-11-13 23:21:52 +00:00
Julian Descottes
8d3699f60a
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
2019-11-04 08:20:02 +00:00
Brian Hackett
2ed94eb548
Bug 1591108 - Don't prompt for connection when using ToolboxTask, r=ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D50751
2019-10-28 16:51:15 +00:00
Nicolas Chevobbe
72d978fcf4
Bug 1591360 - Remove devtools/client/framework/sidebar.js. r=pbro.
...
It was only used by scratchpad which is removed
in Bug 1519103.
Differential Revision: https://phabricator.services.mozilla.com/D50586
2019-10-25 12:39:40 +00:00
Nicolas Chevobbe
ce25c3f455
Bug 1519103 - Remove Scratchpad panel. r=bgrins.
...
Differential Revision: https://phabricator.services.mozilla.com/D50583
2019-10-27 09:05:58 +00:00
Nicolas Chevobbe
95fe5fa94a
Bug 1589346 - Fix navigation to debugger from console on prettified sources. r=loganfsmyth.
...
This revert the changes made in Bug 1587839, except the added test.
The safer fix to be uplifted is to only fix the original issue
in the SmartTrace component, where we remove any sourceId we might
have when creating the new mapped frame.
We also modify the browser_dbg-pretty-print-console test to ensure
clicking on a prettified location in the console does open the
debugger with the expected location.
Differential Revision: https://phabricator.services.mozilla.com/D50173
2019-10-25 12:16:52 +00:00
Daniel Varga
468535502e
Backed out changeset fac6219649be (bug 1587839) on request by nchevobbe DONTBUILD
2019-10-25 14:56:44 +03:00
Nicolas Chevobbe
d5e92c7863
Bug 1587839 - Fix navigation to debugger from console on prettified sources. r=loganfsmyth.
...
This revert the changes made in Bug 1587839, except the added test.
The safer fix to be uplifted is to only fix the original issue
in the SmartTrace component, where we remove any sourceId we might
have when creating the new mapped frame.
We also modify the browser_dbg-pretty-print-console test to ensure
clicking on a prettified location in the console does open the
debugger with the expected location.
Differential Revision: https://phabricator.services.mozilla.com/D50173
2019-10-25 06:21:18 +00:00
Alexandre Poirot
86bbfc3d03
Bug 1588741 - Descriptors.getTarget may return unattached targets when called in parallel. r=jdescottes
...
The race isn't trivial to reproduce and the test do not reproduce it.
But this was making target list tests to fail.
Differential Revision: https://phabricator.services.mozilla.com/D48856
2019-10-23 16:33:42 +00:00
Brian Hackett
0ac20ac853
Bug 1444064 - Add ToolboxTask object for communicating with the browser toolbox during tests, r=ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D48773
2019-10-23 14:10:59 +00:00
Julian Descottes
099d995144
Bug 1590630 - Fail DevTools metrics test explicitly when DEBUG_JS_MODULES is enabled r=daisuke
...
DEBUG_JS_MODULES will make the BrowserLoader load different versions of some React files.
This confuses our metrics test that checks against duplicated modules and relies on a strict whitelist.
We fail the test explicitly since this performance metrics test should really only be run without DEBUG modules.
Differential Revision: https://phabricator.services.mozilla.com/D50160
2019-10-23 09:12:28 +00:00
Julian Descottes
fa030eb1c2
Bug 1589597 - Rename framework jest test folder to node r=ladybenko
...
Depends on D49708
Following the naming convention decided in RFC Bug 1564431
Differential Revision: https://phabricator.services.mozilla.com/D49709
2019-10-18 14:01:55 +00:00
Nicolas Chevobbe
f9ea075d15
Bug 1587839 - Pass the sourceId to sourcemap service subscribe callback. r=loganfsmyth.
...
The sourceId is then used in the various places where we call the sourcemap service.
A test is added in the console to make sure that we do navigate to the mapped
location in the debugger.
Differential Revision: https://phabricator.services.mozilla.com/D49103
2019-10-16 00:16:55 +00:00
Armando Ferreira
ab0447079c
Bug 1523868 - Add a doorhanger options menu in console toolbar - Part 1.
...
Differential Revision: https://phabricator.services.mozilla.com/D47979
2019-10-15 17:04:30 +00:00
Dorel Luca
b9570dcb8c
Backed out changeset 03643a08fe82 (bug 1523868) for Node failure in Unexpected token y in JSON at position 0. CLOSED TREE
2019-10-15 18:42:20 +03:00
Armando Ferreira
736a79a179
Bug 1523868 - Add a doorhanger options menu in console toolbar - Part 1.
...
Differential Revision: https://phabricator.services.mozilla.com/D47979
2019-10-15 15:31:32 +00:00
Julian Descottes
5d332ecbbc
Bug 1586819 - Add DevTools command button to show the currently enabled devtools-fission prefs r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D48367
2019-10-10 13:00:03 +00:00
Alexandre Poirot
b4c1b5f3b4
Bug 1565263 - Support target switching for the console. r=nchevobbe,yulia,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D40016
2019-10-09 08:03:43 +00:00
Alexandre Poirot
41bd6c1989
Bug 1583252 - Assert that there is no pending client at end of each test. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D46805
2019-10-02 16:24:29 +00:00
Nicolas Chevobbe
31bb7f3d0a
Bug 1584973 - Always lazy load Reps bundle. r=Honza.
...
Differential Revision: https://phabricator.services.mozilla.com/D47729
2019-10-02 08:05:57 +00:00
Julian Descottes
85f2527a0c
Bug 1583444 - Stop using win.top in DevTools tests r=nchevobbe
...
Depends on D46959
For those tests, using win.top was the same as using win, and did not have any impact on the asserts performed in the test.
In particular, the AutocompletePopup constructor calls for a "toolboxDoc", so passing the host document is actually more correct.
Differential Revision: https://phabricator.services.mozilla.com/D46960
2019-09-30 09:53:26 +00:00
yulia
5a4a8c868f
Bug 1584107 - add targetFront and parentFront to target fronts r=ochameau,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D45366
2019-09-26 11:49:37 +00:00