Commit Graph

15481 Commits

Author SHA1 Message Date
Greg Tatum
6bb43533fc Bug 1606082 - Skip about:profiling tests when not on nightly; r=gerald
Currently, the panel is nightly only while it is in development.

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

--HG--
extra : moz-landing-system : lando
2019-12-27 20:23:10 +00:00
Brad Werth
09a6c0ebd1 Bug 1604216 Part 1: Make test browser_orientationchange_event.js properly await reload. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D58035

--HG--
extra : moz-landing-system : lando
2019-12-27 07:02:36 +00:00
Julian Descottes
1018577094 Bug 1596686 - Use absolute paths for require calls r=gl
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-12-27 12:23:47 +00:00
Razvan Maries
b27235e522 Backed out changeset 14698fa06ab8 (bug 1596686) for causing perma fails on browser_json_refresh.js. 2019-12-27 14:01:24 +02:00
Julian Descottes
add2223cba Bug 1596686 - Use absolute paths for require calls r=gl
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-12-27 09:09:51 +00:00
Greg Tatum
54db7528d6 Bug 1601697 - Add about:profiling tests for configuring features and threads; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D55999

--HG--
extra : moz-landing-system : lando
2019-12-26 15:39:52 +00:00
Zibi Braniecki
3b0c2d1abd Bug 1604960 - Migrate all text actions to use Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D57713

--HG--
extra : moz-landing-system : lando
2019-12-25 10:01:46 +00:00
Ciure Andrei
c79fc6e32a Backed out changeset 0267e42c0db5 (bug 1604960) for causing bc permafails 2019-12-25 05:15:16 +02:00
Zibi Braniecki
ebad9a1dbf Bug 1604960 - Migrate all text actions to use Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D57713

--HG--
extra : moz-landing-system : lando
2019-12-24 20:43:17 +00:00
Julian Descottes
59577859b0 Bug 1572409 - Add a test for Debugger target-switching support r=jlast,ochameau
Depends on D55671

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

--HG--
extra : moz-landing-system : lando
2019-12-23 16:51:26 +00:00
Julian Descottes
c0ef583aaa Bug 1572409 - TargetList in debugger: Use watchTargets to support target switching r=ochameau,jlast
Depends on D55670

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

--HG--
extra : moz-landing-system : lando
2019-12-23 16:41:27 +00:00
Julian Descottes
6e863a5ae6 Bug 1572409 - TargetList in debugger: Split global and target specific setup in commands and events modules r=jlast
Depends on D55669

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

--HG--
extra : moz-landing-system : lando
2019-12-23 14:46:07 +00:00
Julian Descottes
f1dedb91ec Bug 1572409 - TargetList in debugger: rename tabTarget to currentTarget r=jlast
Depends on D55668

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

--HG--
extra : moz-landing-system : lando
2019-12-23 14:46:05 +00:00
Julian Descottes
03317398dc Bug 1572409 - TargetList in debugger: use TargetList to retrieve the initial target r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D55668

--HG--
extra : moz-landing-system : lando
2019-12-23 14:44:34 +00:00
James Willcox
4400a92a46 Bug 1604917 - Coerce WebManifest colors to rrggbbaa ?marcosc,jdescottes r=marcosc,jdescottes
We then convert that to `#aarrggbb` in GeckoView for convenient use
with `android.graphics.Color`.

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

--HG--
extra : moz-landing-system : lando
2019-12-23 15:29:08 +00:00
Julian Descottes
243180ebeb Bug 1605370 - Rewrite ok(message) as ok(true, message) in DevTools tests r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D57972

--HG--
extra : moz-landing-system : lando
2019-12-23 10:37:53 +00:00
Julian Descottes
65922f5297 Bug 1605347 - Explicitly test both values for devtools.browsertoolbox.fission in browser_aboutdebugging_process_main.js r=daisuke
Setting the values for the pref explicitly will make the test run in the same way regardless of the channel
(this pref is true on Nightly only at the moment)

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

--HG--
extra : moz-landing-system : lando
2019-12-23 10:35:15 +00:00
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