Commit Graph

15429 Commits

Author SHA1 Message Date
Belén Albeza
b2bab4bebd Bug 1539344 - Part 1: share constants between about:debugging and DebugTargetInfo r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D25374

--HG--
extra : moz-landing-system : lando
2019-04-10 09:59:05 +00:00
Julian Descottes
f62ff44e9c Bug 1539979 - Use toolbox window as telemetry event object;r=miker
Depends on D26320

@miker: We are moving devtools iframes to use type=content, and win.top will no longer be available.
We could use another getter to get the topmost chrome window, but reading the code here, I thought that maybe using the toolbox window would be better.
Today if you open several toolboxes in different tabs of the same window, the events for the various toolboxes will be mixed together, because win.top is the same for all the toolboxes that live in the same window.
It might be better to use an object which is unique to the toolbox?

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

--HG--
extra : moz-landing-system : lando
2019-04-10 15:37:31 +00:00
Julian Descottes
5768a84395 Bug 1539979 - Initialize browser-loader only after domready in toolbox.js;r=bgrins
Depends on D26319

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:04:38 +00:00
Julian Descottes
85ba25b7cc Bug 1539979 - Set type=content for DevTools toolbox frames when rebuild_frameloaders_on_remoteness_change is true;r=bgrins,nika
Depends on D26317

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:04:38 +00:00
Julian Descottes
027cdd0432 Bug 1539979 - Create toolbox iframe for Window host with helper;r=bgrins
Depends on D26316
Instead of using a hardcoded iframe in toolbox-window.xul, reuse the same helper as for the other hosts.
Will facilitate switching to type="content".

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:04:38 +00:00
Julian Descottes
edcc1fac74 Bug 1539979 - Add helper to create devtools iframes;r=bgrins
Shared helper to create DevTools frames for side and bottom hosts.
Will make it easier to swap to type="content" in a single spot.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:04:37 +00:00
Jason Laster
0d444d8bb5 Bug 1497393 - replace onPauseChange with native threadClient event.
Differential Revision: https://phabricator.services.mozilla.com/D26831

--HG--
extra : moz-landing-system : lando
2019-04-10 13:52:54 +00:00
Jason Laster
ead0a1fa52 Bug 1537598 - Test Column Breakpoints.
Differential Revision: https://phabricator.services.mozilla.com/D26827

--HG--
extra : moz-landing-system : lando
2019-04-10 13:47:32 +00:00
Csoregi Natalia
b0782effcb Merge mozilla-central to autoland. CLOSED TREE 2019-04-10 16:21:21 +03:00
Csoregi Natalia
69ace9da34 Merge inbound to mozilla-central. a=merge 2019-04-10 12:59:51 +03:00
Brian Hackett
bbeb7fc709 Bug 1092922 - Only pause once when unwinding a particular exception, r=loganfsmyth. 2019-04-09 15:48:22 -10:00
Narcis Beleuzu
065ab21012 Merge inbound to mozilla-central. a=merge 2019-04-10 01:09:36 +03:00
Hemakshi Sachdev
4c96eaa08d Bug 1441079 - Allow to filter console by regular expression. r=nchevobbe
Any text enclosed between forward slashes is considered as a regex search. If the entered regex is invalid, a normal text search is performed.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 05:28:38 +00:00
Julian Descottes
315a07dce8 Bug 1541970 - Set incontentshell=false for devtools popups and panels r=bgrins
Depends on D26211

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

--HG--
extra : moz-landing-system : lando
2019-04-10 05:16:20 +00:00
Julian Descottes
43bf250bf8 Bug 1538632 - Add a test for the deprecation message in WebIDE;r=daisuke
Depends on D26085

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

--HG--
extra : moz-landing-system : lando
2019-04-10 07:51:05 +00:00
Julian Descottes
7abb2d608a Bug 1538632 - Show a deprecation message inside of WebIDE;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D26085

--HG--
extra : moz-landing-system : lando
2019-04-10 06:23:48 +00:00
Brindusan Cristian
04da27ce4e Backed out 4 changesets (bug 1541666, bug 1541446, bug 1540904, bug 1540601) for dt failures at browser_accessibility_node_audit.js
Backed out changeset 7bcd00bbcb71 (bug 1541666)
Backed out changeset a27b2d203885 (bug 1540904)
Backed out changeset 9f43419c7b40 (bug 1541446)
Backed out changeset e3294a1be947 (bug 1540601)
2019-04-10 07:13:57 +03:00
Yura Zenevich
46a0026fa6 Bug 1541666 - ensure that actors are alive when calling async API to the server. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D26459

--HG--
extra : moz-landing-system : lando
2019-04-10 00:58:44 +00:00
Yura Zenevich
a2e55d282e Bug 1540904 - added full page API for accessibility walker actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26458

--HG--
extra : moz-landing-system : lando
2019-04-10 00:58:31 +00:00
Yura Zenevich
a26dda1735 Bug 1541446 - added audited event to AccessibleActor/Front. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26457

--HG--
extra : moz-landing-system : lando
2019-04-10 00:58:24 +00:00
Yura Zenevich
b71ac3d736 Bug 1540601 - Ensuring that TreeView filtering works with keyboard. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D25552

--HG--
extra : moz-landing-system : lando
2019-04-10 00:58:17 +00:00
Jason Laster
28fe41e07b Bug 1532319 - Log Points should have context. r=davidwalsh
This has some fun wins

- colored prompt
- multiline textarea
- default value for log points

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

--HG--
extra : moz-landing-system : lando
2019-04-09 22:42:06 +00:00
Narcis Beleuzu
e29fb0bb6d Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/debugger/new/src/actions/pause/paused.js => devtools/client/debugger/src/actions/pause/paused.js
rename : devtools/client/debugger/new/src/actions/pause/resumed.js => devtools/client/debugger/src/actions/pause/resumed.js
rename : devtools/client/debugger/new/src/actions/pause/tests/pause.spec.js => devtools/client/debugger/src/actions/pause/tests/pause.spec.js
rename : devtools/client/debugger/new/src/actions/tests/ast.spec.js => devtools/client/debugger/src/actions/tests/ast.spec.js
rename : devtools/client/debugger/new/src/actions/tests/expressions.spec.js => devtools/client/debugger/src/actions/tests/expressions.spec.js
rename : devtools/client/debugger/new/src/actions/tests/helpers/threadClient.js => devtools/client/debugger/src/actions/tests/helpers/threadClient.js
rename : devtools/client/debugger/new/src/client/firefox/commands.js => devtools/client/debugger/src/client/firefox/commands.js
rename : devtools/client/debugger/new/test/mochitest/.eslintrc => devtools/client/debugger/test/mochitest/.eslintrc
rename : devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-columns.js => devtools/client/debugger/test/mochitest/browser_dbg-breakpoints-columns.js
rename : devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-cond.js => devtools/client/debugger/test/mochitest/browser_dbg-breakpoints-cond.js
2019-04-10 01:26:00 +03:00
Narcis Beleuzu
27f681f00c Backed out changeset 5859134b057b (bug 1497393) for merge conflicts. CLOSED TREE 2019-04-10 01:21:20 +03:00
Narcis Beleuzu
13d74a147d Backed out changeset d5e48b93c62d (bug 1537598) for merge conflicts. CLOSED TREE 2019-04-10 01:20:42 +03:00
Micah Tigley
3f3eb7a72f Bug 1542367 - Remove the 'Done' button at the bottom of the device modal. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D26637

--HG--
extra : moz-landing-system : lando
2019-04-09 20:16:07 +00:00
Alexandre Poirot
102536e7ea Bug 1541819 - Record allocations of Target class. r=jdescottes
This records on Talos the number of allocated objects after creating, attaching and destroying a Tab Target.

Depends on D26107

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:37 +00:00
Alexandre Poirot
859279017c Bug 1541819 - Expose the number of still-allocated objects via the allocation tracker. r=jdescottes
Depends on D26106

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:29 +00:00
Alexandre Poirot
93a3d67506 Bug 1541819 - Ship allocation-tracker when running tests and test it. r=jdescottes
Using official build flag was breaking tests on try as the builds
are done with the official build flag turned on.
Convert this module into a "supports" file, like other test-only files.
And also introduce a test for this module. It helps as we have to have
a browser.ini file in order to reference allocation-tracker.js,
and you can't have a browser.ini without any test in it.

Depends on D26105

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:27 +00:00
Alexandre Poirot
1b208f0f0e Bug 1541819 - Allow the loader to load modules in a distinct system compartment. r=jdescottes
Depends on D26104

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:25 +00:00
Alexandre Poirot
74167a96b0 Bug 1541819 - Allow tracking memory only for one global or only DevTools ones. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D26104

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:23 +00:00
Jason Laster
093defcb13 Bug 1537598 - Test Column Breakpoints. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D26708

--HG--
extra : moz-landing-system : lando
2019-04-09 19:44:14 +00:00
Jason Laster
4f2055890d Bug 1497393 - replace onPauseChange with native threadClient event. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D26754

--HG--
extra : moz-landing-system : lando
2019-04-09 20:18:48 +00:00
Oriol Brufau
0c1218e4d5 Bug 1541422 - Escape special characters in autocomplete. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D26617

--HG--
extra : moz-landing-system : lando
2019-04-09 16:46:34 +00:00
Micah Tigley
480b976719 Bug 1282084 - Don't allow RDM to show triggered hover states while touch is enabled. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26053

--HG--
extra : moz-landing-system : lando
2019-04-09 14:23:32 +00:00
Nicolas Chevobbe
bc581a4d5e Bug 1534927 - Create warningGroup outside of console.group. r=Honza.
With this patch, we always create warningGroups outside of the outermost
console.group the first warning message could be in.
This is done because we don't want a warningGroup to be burried in a console.group,
or worse, in a console.groupCollapsed, where it wouldn't be visible at all.

The messages reducer is modified to do that, and a test is added
to ensure all the group interactions work as expected.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 14:05:04 +00:00
Cosmin Sabou
a0d1e27a85 Backed out 3 changesets (bug 1539344) for devtools failures on browser_toolbox_target.js. CLOSED TREE
Backed out changeset 878f78400ed7 (bug 1539344)
Backed out changeset 8b3d1e3ae296 (bug 1539344)
Backed out changeset 29b64aed3474 (bug 1539344)
2019-04-09 14:03:07 +03:00
Alexandre Poirot
24425de294 Bug 1540694 - Removed scopedCuImport usages. r=jdescottes
ChromeUtils.import no longer pollute the global scope,
so we can switch to it and remove this ancient helper.

Depends on D26078

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

--HG--
extra : moz-landing-system : lando
2019-04-09 08:44:03 +00:00
Alexandre Poirot
953f28d1a8 Bug 1540694 - Fix DEBUG_DEVTOOLS_ALLOCATIONS now that DevTools share the unique system compartment. r=jdescottes
In bug 1517210, DevTools started sharing the same compartment than JSMs.
So we can no longer use a Debugger instance bound to jsdebugger.jsm as it
would run in the same compartment than DevTools code we want to inspect
from the allocation tracker.
Instead, we instantiate the Debugger from a custom Sandbox loaded
in a unique and distinct compartment.

Depends on D26077

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

--HG--
extra : moz-landing-system : lando
2019-04-09 08:41:19 +00:00
Alexandre Poirot
9a96c419f3 Bug 1540694 - Remove unecessary import-globals-from. r=jdescottes
Now that there is a shared head.js, the import-globals-from is done from there.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 08:41:17 +00:00
Noemi Erli
4d1c376ac0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-09 13:00:14 +03:00
Noemi Erli
dd7e27f4a8 Merge inbound to mozilla-central. a=merge 2019-04-09 12:55:19 +03:00
Belén Albeza
a0613f0489 Bug 1539344 - Part 3: add Jest tests to check display of debug target type info r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D25376

--HG--
extra : moz-landing-system : lando
2019-04-09 09:50:49 +00:00
Razvan Maries
a3e3bcf2fe Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-04-09 06:43:36 +03:00
Andrew McCreight
1b901ff2db Bug 1542024 - Eliminate nsXPCWrappedJSClass by moving its methods into nsXPCWrappedJS. r=bzbarsky
I changed DelegatedQueryInterface and CallMethod to be non-static
methods rather than taking an explicit |self| parameter.

There is already a method nsXPCWrappedJS::CallMethod() with the same
signature, but it is a shim, so I inlined it into the version in
XPCWrappedJSClass.cpp.

I also fixed up a few comments that mention nsXPCWrappedJSClass.

The new comments starting with "We now need to enter the realm" were
written by Boris, and are a little more explicit so they are easier to
understand.

I renamed DebugDump() to DebugDumpInterfaceInfo() to be more
informative.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 21:39:27 +00:00
Belén Albeza
f142e50fd7 Bug 1539344 - Part 2: display target type icon in DebugTargetInfo component r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D25375

--HG--
extra : moz-landing-system : lando
2019-04-08 12:52:03 +00:00
Belén Albeza
5b663e7187 Bug 1539344 - Part 1: share constants between about:debugging and DebugTargetInfo r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D25374

--HG--
extra : moz-landing-system : lando
2019-04-08 09:18:58 +00:00
Brian Hackett
ffa20b4d14 Bug 1542659 Part 3 - Avoid throwing when enumerating proxy properties, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D26453

--HG--
extra : rebase_source : 136c986b58610ac72603a4016de98cef149dff1b
2019-04-07 16:02:42 -10:00
Brian Hackett
e3e30e99e4 Bug 1542659 Part 2 - Remove unnecessary ReplayInspector instrumentation, r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D26452

--HG--
extra : rebase_source : 596c0dbe2f29ab74d1253aeeb0e73e666a69c34a
2019-04-07 16:02:04 -10:00
Brian Hackett
7154d679ab Bug 1542659 Part 1 - Hook require() when replaying, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D26451

--HG--
extra : rebase_source : 6697485b1dc098d6b276957953b537bfdcfb1109
2019-04-07 16:00:49 -10:00