Commit Graph

15464 Commits

Author SHA1 Message Date
Alexandre Poirot
58e8c17d92 Bug 1602444 - Prevent attaching twice to content pages from the browser toolbox. r=jdescottes
We were breaking twice in the browser toolbox because we were attaching to
all the content process targets as well as all frame targets.
But as frames (i.e. web pages) are running within the content processes,
we were having two thread actor attached to the same thread.
This is a stopgap solution for the browser toolbox and we would need
to do something better for the content toolboxes.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 14:34:26 +00:00
Yura Zenevich
547a035358 Bug 1604263 - remove a check for getSimulator being implemented in accessibility panel. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D57360

--HG--
extra : moz-landing-system : lando
2019-12-20 08:49:21 +00:00
Patrick Brosset
5c99381151 Bug 1580463 - Remove ReflowTracker and listen for reflows on selected element r=jdescottes
The ReflowTracker was based on the assumption that there was only ever going to
be one target to be observed.
With Fission, this is no longer true.
Turning the ReflowTracker into something that is multi-target aware seemed more
complex than really worth it. After all, all it was doing is getting a ReflowFront
and listening for events on it.
The only 3 things that needed it are the grid inspector, flex inspector and box
model widget. They all needed it for the same reason: updating the data displayed
in the UI when the size/geometry/box-model regions of the selected node changed.
So, it seems simpler to let the inspector instantiate the right ReflowFront when
it needs it (upon a new node selection).
There's only one node selected at any given time in the inspector, so it's simple
to just listen for reflow in that node's target, and dispatch events to the grid,
flex and box-model tools so they can update themselves.

Note that once a new node is selected, we do the `getFront("Reflow")` again
since that node can be in a different target than the previous one. If it is,
however, in the same target, then `getFront` will return the same instance which
is nice.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 11:35:30 +00:00
Nicolas Chevobbe
c4327fd330 Bug 1530843 - Check asyncParent when building message stacktrace in webconsole actor. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D57441

--HG--
extra : moz-landing-system : lando
2019-12-20 09:33:21 +00:00
Patrick Brosset
1a19a8da92 Bug 1587562 - Disabling browser_favicon.js for fission; r=bradwerth
This is exactly the kind of test that makes no sense once we have finished
the rework of RDM (to be embedded into the browser UI). Indeed, once done,
there won't be a nested iframe in RDM through which we need to make sure
all messages that lead to the tab status/title/icon (and many other things)
are forwarded.

So, because this test currently fails with fission, let's just disable it
for now when in fission mode, and then once the RDM project is done, let's
delete it entirely. No use spending time making it work now if we're going
to remove it later.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 08:28:40 +00:00
jaril
c0f42edecc Bug 1602804 - Create WatchpointMap to keep track of objects with watchpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D57645

--HG--
extra : moz-landing-system : lando
2019-12-19 22:36:48 +00:00
Alexandre Poirot
ab08aa53ce Bug 1605152 - Disable the Multiprocess toolbox for browser_console.js because of intermittent failures. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57823

--HG--
extra : moz-landing-system : lando
2019-12-19 18:29:23 +00:00
Patrick Brosset
34f2fafc99 Bug 1595188 - Disable browser_contextual_identity.js for fission; r=bradwerth
If the test only fails today with fission with the old RDM, then it makes no
sense to fix that now. Better wait for the new RDM to be enabled as it will
probably change how this test runs.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 16:52:24 +00:00
Alexandre Poirot
cdbd115db4 Bug 1605046 - Ensure that only the Browser Toolbox iterate over process targets in the debugger. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57809

--HG--
extra : moz-landing-system : lando
2019-12-19 17:24:21 +00:00
Tyler
ea8b8dab8a Bug 1601475 - Remove ImageContentLoaded event and ImageDocumentLoaded message handling code across the tree r=Gijs,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D56051

--HG--
extra : moz-landing-system : lando
2019-12-18 21:46:51 +00:00
Nicolas Chevobbe
b4e6628c95 Bug 1604411 - Add expression variables in autocomplete popup. r=Honza.
Variables are retrieved from CodeMirror state and sent to the
webconsole actor, where the filtering is done.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 11:29:06 +00:00
Nicolas Chevobbe
b3e862d056 Bug 1600680 - Fix race issue in autocompletion + Enter. r=Honza.
This ensures the selected item of the autocomplete
popup is updated, so if the user accepts the completion
it will retrieve the right text.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 11:19:55 +00:00
Alexandre Poirot
d90e3e14aa Bug 1588050 - Turn the Multiprocess Browser Toolbox on by default on Nightly. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57346

--HG--
extra : moz-landing-system : lando
2019-12-19 08:50:41 +00:00
Harald Kirschner
ef98ce0fce Bug 1291192 - Exclude-mode filtering for Console (v2) r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D57600

--HG--
extra : moz-landing-system : lando
2019-12-18 11:20:58 +00:00
Julian Descottes
4275691a74 Bug 1603209 - Add a test to expand remote frames in the markup view from the Omniscient Browser Toolbox r=ochameau
Depends on D56347

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

--HG--
extra : moz-landing-system : lando
2019-12-18 18:28:09 +00:00
Junior Hsu
f0a71ae12f Bug 1575068 - update console error for CORSMissingAllowHeaderFromPreflight, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D57040

--HG--
extra : moz-landing-system : lando
2019-12-17 09:54:57 +00:00
Narcis Beleuzu
d7353ef739 Backed out 3 changesets (bug 1603209) for dt leaks at mozilla::net::AddrInfo::AddrInfo . CLOSED TREE
Backed out changeset ef521f6b57ea (bug 1603209)
Backed out changeset 56392b65466b (bug 1603209)
Backed out changeset 10769c72ba39 (bug 1603209)
2019-12-18 18:12:47 +02:00
Belén Albeza
6ba243338a Bug 1604142 - Unwatch fronts in WorkersListener's removeListener method r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57299

--HG--
extra : moz-landing-system : lando
2019-12-18 13:50:30 +00:00
Daisuke Akatsuka
0bc640fd4c Bug 1599410: Make the scrubber put at the correct position even in case of scrolling. r=miker,pbro
Depends on D55702

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

--HG--
extra : moz-landing-system : lando
2019-12-18 13:01:26 +00:00
Michael Ratcliffe
444af43d00 Bug 1599410 - Fix scrolling at narrow widths in the Animations View r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D55702

--HG--
extra : moz-landing-system : lando
2019-12-17 13:43:37 +00:00
Nicolas Chevobbe
2701df0ea9 Bug 1535082 - Enable browser_jsterm_helper_dollar_dollar on windows arch. r=Honza.
The failure indicates a pending request to the highlighter
actor. This patch moves the mouse at the top left corner of
the console to avoid hovering any dom elements that might
trigger the highlighter.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 11:04:16 +00:00
Nicolas Chevobbe
eaa9dad1da Bug 1531572 - Enable browser_jsterm_helper_dollar_x.js on windows aarch. r=Honza.
This patch places the mouse cursor at the top left corner so
it does not inadvertently triggers an highlighter.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 11:04:39 +00:00
Jason Laster
8230e88ead Bug 1604223 - fix ./mach try --preset devtools. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D57551

--HG--
extra : moz-landing-system : lando
2019-12-18 10:05:45 +00:00
Julian Descottes
bffa660d30 Bug 1603209 - Add a test to expand remote frames in the markup view from the Omniscient Browser Toolbox r=ochameau
Depends on D56347

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

--HG--
extra : moz-landing-system : lando
2019-12-17 16:59:11 +00:00
Andres Ortega
c96d023654 Bug 1591910 - Show size only in Raw Data of WebSocket message section. r=Honza
Show the size only in Raw Data, because showing it on all tabs is redundant and on Raw makes most sense.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 14:34:47 +00:00
Julian Descottes
795bb4711b Bug 1603361 - Synchronize the browsertoolbox.fission preference when the Browser Toolbox starts r=ochameau
Depends on D56914

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

--HG--
extra : moz-landing-system : lando
2019-12-17 14:22:23 +00:00
Razvan Caliman
787235c807 Bug 1602797 - Remove PageStyle references from Inspector client; r=jdescottes
Fission changes made it so the `PageStyle` is referenced contextually from the `InspectorFront` of the `NodeFront` wherever needed. Most references in the code no longer use the static reference to `PageStyle` from the Inspector client (which only points to the top-level document anyway).

This patch removes that reference from the Inspector client and updates any leftover bits to use the contextual `PageStyle` from the abandoned /new Rules view and some tests.

The Shapes Highlighter tests will be refactored separately in [Bug 1603066](https://bugzilla.mozilla.org/show_bug.cgi?id=1603066). This patch just corrects the references without attempting to cleanup the tests themselves.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 16:12:50 +00:00
Matt Woodrow
a925a86ada Bug 1574372 - Add API to test stream converters to find out their output type. r=bzbarsky
We don't want to run stream conversion in the parent (since a lot of them require access to the document), so this instead adds a way to find out what their output type will be.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 03:02:02 +00:00
Oana Pop Rus
5545e5a016 Backed out 9 changesets (bug 1574372) for bustage and wpt failures. on a CLOSED TREE
Backed out changeset b0183a606fec (bug 1574372)
Backed out changeset b7c96254826e (bug 1574372)
Backed out changeset 196d61adc272 (bug 1574372)
Backed out changeset 419b94b1210e (bug 1574372)
Backed out changeset c192e499eb47 (bug 1574372)
Backed out changeset 4e57038c3518 (bug 1574372)
Backed out changeset 6ec2aa542b59 (bug 1574372)
Backed out changeset d71b4c0aac1a (bug 1574372)
Backed out changeset a05c3b113ac1 (bug 1574372)
2019-12-17 03:26:38 +02:00
Matt Woodrow
d1851fa263 Bug 1574372 - Add API to test stream converters to find out their output type. r=bzbarsky
We don't want to run stream conversion in the parent (since a lot of them require access to the document), so this instead adds a way to find out what their output type will be.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 21:40:06 +00:00
Alexandre Poirot
fd7704e4fb Bug 1602791 - Make the storage panel use the TargetList and support target switching. r=miker
Differential Revision: https://phabricator.services.mozilla.com/D56552

--HG--
extra : moz-landing-system : lando
2019-12-16 16:22:15 +00:00
Alexandre Poirot
a17b5ecf2c Bug 1602791 - Move storage front retrieval from Panel to UI. r=miker
Differential Revision: https://phabricator.services.mozilla.com/D56551

--HG--
extra : moz-landing-system : lando
2019-12-16 17:40:33 +00:00
Nicolas Chevobbe
a02d35ea91 Bug 1566850 - Remove target.activeConsole usage in Toolbox. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D56692

--HG--
extra : moz-landing-system : lando
2019-12-13 14:21:20 +00:00
Nicolas Chevobbe
adb3042270 Bug 1566850 - Remove target.activeConsole usage in WebConsole. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D56691

--HG--
extra : moz-landing-system : lando
2019-12-13 14:04:46 +00:00
Nicolas Chevobbe
b4cd01d457 Bug 1566850 - Remove target.activeConsole usage in Debugger. r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D56690

--HG--
extra : moz-landing-system : lando
2019-12-13 14:02:55 +00:00
Nicolas Chevobbe
5737a86acf Bug 1566850 - Remove target.activeConsole usage in Netmonitor. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D56689

--HG--
extra : moz-landing-system : lando
2019-12-13 14:01:18 +00:00
Nicolas Chevobbe
38fc79b020 Bug 1566850 - Remove target.activeConsole usage in tests. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D56688

--HG--
extra : moz-landing-system : lando
2019-12-13 13:58:54 +00:00
Nicolas Chevobbe
753e89f48e Bug 1566850 - Remove target.activeConsole usage in DOM panel. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D56686

--HG--
extra : moz-landing-system : lando
2019-12-13 13:55:46 +00:00
Boris Zbarsky
6639140a09 Bug 1603806. Add a blocking reason when loads with the SEC_REQUIRE_SAME_ORIGIN_* security flags are blocked due to not being same-origin. r=ckerschb,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D57147

--HG--
extra : moz-landing-system : lando
2019-12-16 09:36:45 +00:00
Csoregi Natalia
dc9d562004 Backed out changeset d09d8fa3332f (bug 1438979) for failures on browser_webconsole_network_messages_expand_before_updates.js. CLOSED TREE 2019-12-16 15:43:57 +02:00
Thiago Arrais
72fef7b640 Bug 765651 - Fix console protocol for ws connections. r=Honza,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56965

--HG--
extra : moz-landing-system : lando
2019-12-16 11:42:01 +00:00
Daisuke Akatsuka
039838c924 Bug 1578753: Add a test for top-level target switing. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D56705

--HG--
extra : moz-landing-system : lando
2019-12-16 10:18:07 +00:00
Daisuke Akatsuka
daf33e67cf Bug 1578753: Reflect the switching of the top-level target. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D56704

--HG--
extra : moz-landing-system : lando
2019-12-16 10:16:05 +00:00
Daisuke Akatsuka
5bcf346ce2 Bug 1578753: Use the current target of TargetList. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D56703

--HG--
extra : moz-landing-system : lando
2019-12-16 10:15:58 +00:00
Nicolas Chevobbe
37f504d78f Bug 1438979 - Re-enable browser_webconsole_network_messages_expand.js. r=Honza.
The test is split in two to make it easier to read.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 10:13:39 +00:00
Csoregi Natalia
efccf499c7 Backed out changeset e1ef71575321 (bug 1438979) for failures on browser_webconsole_stubs_network_event.js. CLOSED TREE 2019-12-16 11:51:18 +02:00
Oriol Brufau
78ab5f5552 Bug 1603962 - Add comment explaining why addJsonViewTab races two load promises. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D57204

--HG--
extra : moz-landing-system : lando
2019-12-16 09:03:36 +00:00
Nicolas Chevobbe
4daf948695 Bug 1438979 - Re-enable browser_webconsole_network_messages_expand.js. r=Honza.
The test is split in two to make it easier to read.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 07:57:40 +00:00
Julian Descottes
021cb66c83 Bug 1602727 - Fix DevTools destroyer patterns r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56527

--HG--
extra : moz-landing-system : lando
2019-12-15 21:07:59 +00:00
Brad Werth
f75b1c5a9a Bug 1595092 Part 2: Update an existing RDM content size test to test against the new RDM UI. r=mtigley
Depends on D56979

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

--HG--
extra : moz-landing-system : lando
2019-12-13 19:25:43 +00:00