Commit Graph

19143 Commits

Author SHA1 Message Date
Razvan Caliman
9060dd6a5d Bug 1602152 - Make diff markers non-selectable in Changes panel. r=pbro
Revert to using CSS pseudo-elements for the +/- diff markers in the Changes panel so they don't get copied over as plain text to the clipboard.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 10:26:01 +00:00
Julian Descottes
9db8cc784d Bug 1605368 - Use is() instead of ok() in some asserts of browser_application_panel_manifest-display.js r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D57970

--HG--
extra : moz-landing-system : lando
2020-01-07 13:51:01 +00:00
Belén Albeza
bf1c0ddcf6 Bug 1600263 - Part 2: Add mochitests for target switching r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57481

--HG--
extra : moz-landing-system : lando
2020-01-07 12:13:00 +00:00
Belén Albeza
17938124b0 Bug 1600263 - Switch the Application panel to use the new TargetList API r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57139

--HG--
extra : moz-landing-system : lando
2020-01-07 12:12:09 +00:00
Patrick Brosset
86f9daeec8 Bug 1602783 - Retrieve the right inspector front when updating the state of toolbar buttons r=jdescottes
When a page navigation happens, we update the state of the toolbox toolbar buttons
as some of them need to disable themselves then (rulers and measurement tool).

In bug 1500142 the logic to do this was changed to retrieve the right inspector front
instead of always the top-level one, stored at toolbox level.
This is good. However a tiny mistake made its way into the code.
Instead of calling getCachedFront("inspector") the code called
getCachedFront("inspectorFront")

This made it return null, and therefore prevented the rest of the button update logic
to run.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 16:20:43 +00:00
Alexandre Poirot
4490636e24 Bug 1450943 - Remove unused helpers from devtools xpcshell tests. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57994

--HG--
extra : moz-landing-system : lando
2020-01-07 09:14:47 +00:00
Alexandre Poirot
92027b97b4 Bug 1450943 - Convert RootActor to protocol.js. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57467

--HG--
extra : moz-landing-system : lando
2020-01-07 09:14:45 +00:00
Arthur Iakab
74c1aded45 Backed out changeset b5cd3d8e322f (bug 1585761) for causing debugger failures.
CLOSED TREE
2020-01-07 02:51:13 +02:00
Krishnal Ciccolella
724ddbc03e Bug 1585761 - Outline pane filter styled consistent with Event BP filter r=jlast
Styled the Outline pane filter to be consistent with the Event Breakpoint filter

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

--HG--
extra : moz-landing-system : lando
2020-01-07 00:21:14 +00:00
Brian Hackett
041540c18f Bug 1607074 - Fetch websocket address from cloud server address, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D58719

--HG--
extra : moz-landing-system : lando
2020-01-07 00:00:54 +00:00
Micah Tigley
e9f7bfd194 Bug 1593089 - Refactor existing emulation actor to ResponsiveEmulation actor and ContentViewerEmulation actor. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D52754

--HG--
rename : devtools/server/actors/emulation.js => devtools/server/actors/emulation/content-viewer.js
rename : devtools/server/actors/emulation.js => devtools/server/actors/emulation/responsive.js
rename : devtools/shared/fronts/emulation.js => devtools/shared/fronts/content-viewer.js
rename : devtools/shared/fronts/emulation.js => devtools/shared/fronts/responsive.js
rename : devtools/shared/specs/emulation.js => devtools/shared/specs/content-viewer.js
rename : devtools/shared/specs/emulation.js => devtools/shared/specs/responsive.js
extra : moz-landing-system : lando
2020-01-03 18:28:14 +00:00
Brian Hackett
95e6bca783 Bug 1604514 - Remove special case when applying pending breakpoints, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D58012

--HG--
extra : moz-landing-system : lando
2020-01-06 17:47:00 +00:00
Brian Hackett
09fdee41ee Bug 1605399 - Label service workers using their state, r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D57998

--HG--
extra : moz-landing-system : lando
2020-01-06 17:22:47 +00:00
Jason Laster
54c2ea291c Bug 1592432 - Async Live Stacks: client work. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56624

--HG--
extra : moz-landing-system : lando
2020-01-06 16:32:36 +00:00
Nicolas Chevobbe
f9625c227b Bug 1605172 - Add missing return in WebConsoleUi getLongString method. r=jlast.
The function was moved during Bug 1582870 and
we lost the return statement somehow.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 15:27:49 +00:00
Nicolas Chevobbe
3e99072c76 Bug 1605747 - Fix ErrorRep for Error with undefined name property. r=Honza.
Since the name can be an undefined grip, there
could be case where the name would be an object
and not a React element, making the rendering fail.
This patch fixes that and adds a test to ensure
this does not regress.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 11:32:54 +00:00
Yura Zenevich
8d11189ded Bug 1605404 - Resolve DOM walker inside updateDetails action. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58013

--HG--
extra : moz-landing-system : lando
2020-01-06 14:42:17 +00:00
Julian Descottes
3b345a689e Bug 1605995 - Add linting rule against relative paths in DevTools require r=Standard8
Depends on D58243

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

--HG--
extra : moz-landing-system : lando
2020-01-06 12:54:39 +00:00
Jan Odvarko
9b042f35ee Bug 1605576 - Set javascript.options.asyncstack in browser_webconsole_stubs_page_error.js and browser_webconsole_worker_error.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D58607

--HG--
extra : moz-landing-system : lando
2020-01-06 08:13:46 +00:00
Harald Kirschner
cb461b707d Bug 1606183 - Pin-to-bottom in Network panel using scroll anchoring. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D58336

--HG--
extra : moz-landing-system : lando
2020-01-05 04:59:29 +00:00
Brian Hackett
4f9a7f8f76 Bug 1603945 - Enable crash recovery with fork based rewinding, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D58666

--HG--
extra : moz-landing-system : lando
2020-01-04 15:52:05 +00:00
Brian Hackett
9a1d3033bf Bug 1606729 - Reduce the number of debugger requests made when inspecting objects, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D58558

--HG--
extra : moz-landing-system : lando
2020-01-04 15:52:05 +00:00
Brian Hackett
6a51495175 Bug 1606447 - Initial landing for cloud replay, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D58444

--HG--
rename : toolkit/recordreplay/MiddlemanCall.cpp => toolkit/recordreplay/ExternalCall.cpp
rename : toolkit/recordreplay/MiddlemanCall.h => toolkit/recordreplay/ExternalCall.h
rename : toolkit/recordreplay/File.cpp => toolkit/recordreplay/Recording.cpp
rename : toolkit/recordreplay/File.h => toolkit/recordreplay/Recording.h
extra : moz-landing-system : lando
2020-01-03 20:43:08 +00:00
Dorel Luca
212a51bc09 Backed out 5 changesets (bug 1603856, bug 1606447, bug 1605584, bug 1598951) for build bustages. CLOSED TREE
Backed out changeset cf403935cf9b (bug 1598951)
Backed out changeset af6e8b6be574 (bug 1605584)
Backed out changeset fbfa92bd4ec8 (bug 1603856)
Backed out changeset a6d13450295d (bug 1603856)
Backed out changeset e0b049ff115f (bug 1606447)

--HG--
rename : toolkit/recordreplay/Recording.cpp => toolkit/recordreplay/File.cpp
rename : toolkit/recordreplay/Recording.h => toolkit/recordreplay/File.h
rename : toolkit/recordreplay/ExternalCall.cpp => toolkit/recordreplay/MiddlemanCall.cpp
rename : toolkit/recordreplay/ExternalCall.h => toolkit/recordreplay/MiddlemanCall.h
2020-01-03 18:43:40 +02:00
Yura Zenevich
edf6046d29 Bug 1606671 - ensure that the panel UI event handlers are cleaned up in case when panel is removed via settings. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D58538

--HG--
extra : moz-landing-system : lando
2020-01-03 15:33:00 +00:00
chujun
71e76eea3b Bug 1596114 - Refactor server unit tests to async/await part2 r=jlast
The 3 `test_objectgrips-fn-apply` tests and 3 `test_objectgrips-property-value` tests used somewhat complicated callbacks returning `promise` . I thought they were not easy to read, and I might fail to understand its subtleness. I wondered why the tests were written in that way?

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

--HG--
extra : moz-landing-system : lando
2020-01-03 16:01:20 +00:00
Brian Hackett
47e1b573d0 Bug 1606447 - Initial landing for cloud replay, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D58444

--HG--
rename : toolkit/recordreplay/MiddlemanCall.cpp => toolkit/recordreplay/ExternalCall.cpp
rename : toolkit/recordreplay/MiddlemanCall.h => toolkit/recordreplay/ExternalCall.h
rename : toolkit/recordreplay/File.cpp => toolkit/recordreplay/Recording.cpp
rename : toolkit/recordreplay/File.h => toolkit/recordreplay/Recording.h
extra : moz-landing-system : lando
2020-01-03 15:57:15 +00:00
Tom Schuster
1596f1aa17 Bug 1605854 - Remove uneval/toSource from devtools tests. r=jlast
For test browser_net_prefs-reload.js, I am not sure about this change firstValue/currentValue seems to be different types numbers, strings, objects.
toString is maybe not the best way to compare those values.

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

--HG--
extra : moz-landing-system : lando
2020-01-03 15:30:08 +00:00
Dorel Luca
de5c64c8f9 Backed out changeset a1487e1518de (bug 1605854) for ESline failure in gecko/devtools/shared/transport/local-transport.js. CLOSED TREE 2020-01-03 15:52:46 +02:00
Tom Schuster
7d4773b478 Bug 1605854 - Remove uneval/toSource from devtools tests. r=jlast
For test browser_net_prefs-reload.js, I am not sure about this change firstValue/currentValue seems to be different types numbers, strings, objects.
toString is maybe not the best way to compare those values.

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

--HG--
extra : moz-landing-system : lando
2020-01-03 13:08:26 +00:00
Michael Hoffmann
85c3b123f5 Bug 1604482 - Fix TypeScript type error for gIsDarkMode r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D57649

--HG--
extra : moz-landing-system : lando
2020-01-03 12:24:09 +00:00
Ksenia Berezina
b111b012e8 Bug 1554913 - Remove eslint-disable-next-line complexity from _setupHarTimings r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D57877

--HG--
extra : moz-landing-system : lando
2020-01-03 09:58:08 +00:00
Gurzau Raul
a49bfa16f8 Backed out changeset fce0a89353f1 (bug 1606161) for failing at /browser_net_har_copy_all_as_har.js on a CLOSED TREE. 2020-01-03 00:41:00 +02:00
Harald Kirschner
7b5ebabe18 Bug 1606153 - Use tabular-nums in network status bar r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D58324

--HG--
extra : moz-landing-system : lando
2020-01-02 10:30:07 +00:00
Harald Kirschner
9683a90cfe Bug 1606161 - Avoid forced layouts in RequestListHeader r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D58320

--HG--
extra : moz-landing-system : lando
2020-01-02 12:50:36 +00:00
Harald Kirschner
c8219f4aa2 Bug 1599604 - Store netmonitor requests in Array vs Map r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D57748

--HG--
extra : moz-landing-system : lando
2020-01-02 12:48:17 +00:00
wartmanm
61b3877fe7 Bug 1575071 - Find unblackboxed frame when stepping backwards r=jlast
Depends on D57205

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

--HG--
extra : moz-landing-system : lando
2020-01-02 18:43:11 +00:00
wartmanm
77ac359e34 Bug 1575071 - Improve performance by not attaching onStep handlers to blackboxed frames r=jlast
Depends on D57203

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

--HG--
extra : moz-landing-system : lando
2020-01-02 18:43:39 +00:00
wartmanm
8230eb5aa5 Bug 1575071 - Add onPop handlers to blackboxed frames r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D57203

--HG--
extra : moz-landing-system : lando
2020-01-02 18:42:46 +00:00
chujun
e71b73a1da Bug 1596114 - Refactor server unit tests part3 r=jlast,bhackett
Remove `threadFrontTestFinished`

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

--HG--
extra : moz-landing-system : lando
2020-01-02 16:09:49 +00:00
chujun
3678587e3b Bug 1596114 - Refactor server unit tests part4 r=bhackett,jlast
Remove `threadFrontTestFinished`

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

--HG--
extra : moz-landing-system : lando
2020-01-02 16:12:25 +00:00
Oriol Brufau
0f8927cf00 Bug 1605600 - Normalize file URI in browser_json_refresh.js. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D58087

--HG--
extra : moz-landing-system : lando
2020-01-02 11:02:06 +00:00
Ting-Yu Lin
bc3ffa5195 Bug 1499281 - Remove column-span pref in mochitests and property databases. r=dbaron
Move the content of bug1503420.html to
test_frame_reconstruction_for_column_span.html because we don't need to
flip the pref and load the test in an iframe.

The modification to devtools's properties-db.js is generated via
`./mach devtools-css-db`.

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

--HG--
extra : moz-landing-system : lando
2019-12-31 19:33:15 +00:00
Greg Tatum
bb5bb4599a Bug 1606472 - Fixup some typings that were set to any; r=julienw
Specifically this is fixing up some issues around loading in JSMs.

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

--HG--
extra : moz-landing-system : lando
2019-12-31 20:53:48 +00:00
Brian Hackett
4b3c644bc3 Bug 1604435 - Include effectful offsets preceding the script's main offset, r=jimb.
Differential Revision: https://phabricator.services.mozilla.com/D57975

--HG--
extra : moz-landing-system : lando
2019-12-30 22:49:35 +00:00
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
Julian Descottes
257e10bfdf Bug 1605027 - Create remote FrameTargetActor with the correct docShell r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D57684

--HG--
extra : moz-landing-system : lando
2019-12-27 14:33:05 +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
Brian Hackett
3e28e13bac Bug 1591743 - Set watchedByDevtools in child docshells of browsing context target, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D50716

--HG--
extra : moz-landing-system : lando
2019-12-21 00:25:45 +00:00
Narcis Beleuzu
36730aa69f Backed out changeset 5af78a6c183e (bug 1589908) for dt failures on browser_dbg-toolbox-workers.js . CLOSED TREE 2019-12-21 00:04:04 +02:00
Bryan Kok
4072abcd72 Bug 1589908 - The Worker name should be reflected in the threads pane r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D52444

--HG--
extra : moz-landing-system : lando
2019-12-18 10:12: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
Alexandre Poirot
0771b42cab Bug 1239008 - Remove unused ChromeDebuggerActor. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57468

--HG--
extra : moz-landing-system : lando
2019-12-19 16:41:41 +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
Julian Descottes
2e3a4da1af Bug 1603209 - Support remote frame targets in the omniscient browser toolbox r=ochameau
Depends on D57130

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

--HG--
extra : moz-landing-system : lando
2019-12-18 18:28:00 +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
Julian Descottes
efe4d2c870 Bug 1603209 - Support remote frame targets in the omniscient browser toolbox r=ochameau
Depends on D57130

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

--HG--
extra : moz-landing-system : lando
2019-12-17 16:58:00 +00:00
Julian Descottes
18e9cea10c Bug 1604485 - Add eslint rule against requiring client files from devtools/shared r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D57459

--HG--
extra : moz-landing-system : lando
2019-12-17 17:00:28 +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
Sean Voisen
0e463d054a Bug 1453472 - Add support for logical versions of overscroll-behavior. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57363

--HG--
extra : moz-landing-system : lando
2019-12-17 11:27:41 +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
Logan Smyth
82b556f808 Bug 1592644 - Ensure that we are always passing a global to listen for events. r=jlast
We are being inconsistent here and sometimes calling `.connect` with a
Debugger.Object that points at a global instead of the global itself.
Passing the Debugger.Object fails since it isn't a global.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 15:41:31 +00:00
Emma Malysz
ebaa98b111 Bug 1601113, replace URIs ending in vnd.mozilla.xul+xml with xhtml+xml r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57148

--HG--
extra : moz-landing-system : lando
2019-12-17 00:33:16 +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
ee9a837bca Bug 1603351 - Add a tsconfig.json file in devtools root folder. r=gregtatum.
This will help VSCode users (jump to definition will work with absolute paths)
and opens the door to implementing typescript JS docs.
I tested it with absolute and regular paths, with `require` and `from`.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 15:21:03 +00:00
Nicolas Chevobbe
146ee963f4 Bug 1566850 - Remove this.activeConsole in TargetMixin. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D56693

--HG--
extra : moz-landing-system : lando
2019-12-13 14:21:20 +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
Nicolas Chevobbe
23ef0ad6b5 Bug 1603035 - Return a function from EventEmitter.on that removes the event listener when called. r=rcaliman.
This will be helpful when consumers don't want to
keep the target around.
A test is added to ensure this work as expected (and
was failing if the returned function does not call
EventEmitter.off).

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

--HG--
extra : moz-landing-system : lando
2019-12-13 13:55:23 +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
Julian Descottes
2dd4380765 Bug 1599962 - OBT should list remote <browser> elements when debugging non browser windows r=ochameau
Code change suggested by :Gijs to support non browser windows

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

--HG--
extra : moz-landing-system : lando
2019-12-12 16:23:21 +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
Brad Werth
34532dab1e Bug 1595092 Part 1: Make new RDM UI size the content pane with content-box. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D56979

--HG--
extra : moz-landing-system : lando
2019-12-13 19:22:02 +00:00
Kris Maglione
39d7eb39ed Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:48 +00:00
Kris Maglione
3cb2072737 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:40 +00:00
Kris Maglione
295e55e227 Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53745

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:37 +00:00
Kris Maglione
0b1a146519 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:36 +00:00
Kris Maglione
90bbf045db Bug 1596918: Part 4a - Re-add eslint-disable comments removed by rewrite. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53742

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:25 +00:00
Kris Maglione
9853440599 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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione
94e3b0bd8d 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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Boris Zbarsky
ee1cc488f2 Bug 1602483 part 2. Add a window id argument to CheckLoadURIWithPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D56428

--HG--
rename : devtools/client/webconsole/test/browser/browser_webconsole_same_origin_errors.js => devtools/client/webconsole/test/browser/browser_webconsole_checkloaduri_errors.js
rename : devtools/client/webconsole/test/browser/test-same-origin-required-load.html => devtools/client/webconsole/test/browser/test-checkloaduri-failure.html
extra : moz-landing-system : lando
2019-12-12 16:41:19 +00:00
Boris Zbarsky
cbc90e1aca Bug 1602090 part 2. Create separate CheckMayLoad and CheckMayLoadWithReporting APIs. r=ckerschb
CheckMayLoadAndReport takes a window ID.  This allows us to report
errors from it to the web console as needed.  Most consumers know statically
whether they want reporting or not, so there's no reason to force the ones that
don't to provide window ids.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 06:24:12 +00:00
Brad Werth
a226876281 Bug 1579178 Part 4: Update test functions and an existing zoom test to work with new RDM UI. r=mtigley
This patch does several related things:
1) Updates the test helper functions in ui.js to make them sensible
for both the old and new RDM UI.
2) Updates the test helper function addRDMTask to return the correct
"browser" values for both RDM UIs. Old RDM UI tests that want to
spawn a content task should now use ui.getViewportBrowser() for that,
and only use the browser value for getting/setting of zoom and any
other methods that take browsers as arguments.
3) Updates the test helper function promiseRDM to make it wait on
the correct event.
4) Updates a non-zoom test that uses addRDMTask to use the new
browser value correctly.
5) Updates a zoom test to use the addRDMTask function, and therefore
run the test using the new RDM UI. This test exercises the issue
that is the focus of this bug.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 19:13:00 +00:00
Brad Werth
21a5598360 Bug 1579178 Part 3: Remove the old RDM UI method for save-and-restore of resolution for full zoom changes. r=mtigley
The firing of the "ZoomComplete" event is no longer necessary, now
that ZoomParent fires a "PostFullZoomChange" event, which serves a
similar purpose. The next part of the patch listens for that event.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 19:12:55 +00:00
Brad Werth
d4e3fa3cf8 Bug 1579178 Part 1: Make RDM new browser ui change viewport size in response to zoom. r=mtigley
Because the new RDM UI does not retain the width and height of the
device, this patch extracts those values from the prefs which are
updated in the viewports reducer. There probably should be a more
resilient way to maintain those values.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 19:11:15 +00:00
Boris Zbarsky
c1aa50748f Bug 1603666. Network monitor should not lose track of whether the request was blocked. r=ochameau,jryans
Not everything that blocks requests sets a reason other than BLOCKING_REASON_NONE.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 18:10:26 +00:00
Micah Tigley
2d2c2562ac Bug 1598893 - Add check for elements absolutely positioned within a grid container. r=pbro,miker,Oriol
This revision introduces a check for whether or not grid-item properties have an affect on an “absolutely-positioned” grid element. It’s important to note this grid element is not necessarily a grid item, it just needs to be contained within a grid container that generates its containing block. The general algorithm for this is to first check whether or not the element is either `position: fixed` or `position: absolute` then find an ancestor grid element that generates its containing block.

To help DevTools identify such an element,  InspectorUtils provides an API called `containingBlockOf` that returns the absolutely-positioned element’s containing block. If the element’s containing block is the viewport, then this method returns null. For now, `containingBlockOf` is designed for absolute/fixed positioned elements. So it’s important to be aware that trying to use it for other purposes might return unexpected results.

This revision also adds/updates tests that check whether or not grid-item properties are active on a grid element.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 17:47:02 +00:00
Jason Laster
7079ed7803 Bug 1603698 - Omniscient Browser Toolbox error "this._stopThreadFrontListeners is not a function". r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57135

--HG--
extra : moz-landing-system : lando
2019-12-13 16:55:19 +00:00
Nicolas Chevobbe
b36a58512f Bug 1602769 - Remove unused DebuggerClient.connect onConnected param. r=ladybenko.
Differential Revision: https://phabricator.services.mozilla.com/D56564

--HG--
extra : moz-landing-system : lando
2019-12-13 13:26:29 +00:00
Nicolas Chevobbe
155891ddb2 Bug 1602709 - Remove unused DebuggerClient.close onClosed parameter. r=ladybenko.
Differential Revision: https://phabricator.services.mozilla.com/D56562

--HG--
extra : moz-landing-system : lando
2019-12-13 13:11:45 +00:00
Ksenia Berezina
c10eb5d8d6 Bug 1554915 - Remove eslint-disable-next-line complexity from DOMEvent and GenericObject r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56647

--HG--
extra : moz-landing-system : lando
2019-12-13 13:27:02 +00:00
Julian Descottes
1676f649b6 Bug 1603366 - Rename the Main process target in about:debugging when Multiprocess toolbox is enabled r=ladybenko,fluent-reviewers,flod
Depends on D56877

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

--HG--
extra : moz-landing-system : lando
2019-12-13 12:02:31 +00:00
Julian Descottes
55cb60a6e3 Bug 1603366 - Rename Omniscient browser toolbox to Multiprocess Browser Toolbox and support localization r=pbro,flod
Differential Revision: https://phabricator.services.mozilla.com/D56877

--HG--
extra : moz-landing-system : lando
2019-12-12 15:00:20 +00:00
Belén Albeza
cbb88fbdce Bug 1603087 - Disable test when parent_intercept is false r=jdescottes
Since `parent_intercept` requires to be set from the beginning, either we disable the test when it's not the case, or we force the pref to be flipped for this test… I chose the former, but happy to do the latter if it's preferable.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 12:56:01 +00:00
shindli
1cfffc2672 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
625d25aee8 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

--HG--
extra : moz-landing-system : lando
2019-12-13 10:38:07 +00:00
Julian Descottes
eebe135d8e Bug 1602371 - Remove csp and contentPrincipal getters in LocalTabTargetFront r=ochameau
Depends on D56327. Not reason to make target-mixin more complex for this workaround which already has access to the tab object.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 10:00:25 +00:00
Julian Descottes
e60aee2456 Bug 1602371 - Stop listening to tab unload in LocalTabTargetFront r=ochameau
It is not clear why tab unload should be listened to on the client, and only destroy the target front.
Tentatively removing to simplify the local tab target.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 09:59:00 +00:00
Nicolas Chevobbe
060e285ff9 Bug 1566850 - Remove this.activeConsole in TargetMixin. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D56693

--HG--
extra : moz-landing-system : lando
2019-12-13 09:16:32 +00:00
Nicolas Chevobbe
74eeee21f6 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 09:15:17 +00:00
Nicolas Chevobbe
2fa7a9ac6b 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 09:13:58 +00:00
Nicolas Chevobbe
6865c4f4be 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 09:13:02 +00:00
Nicolas Chevobbe
684b113226 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 09:11:44 +00:00
Nicolas Chevobbe
018643b9e6 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 09:10:33 +00:00
Nicolas Chevobbe
1df3816fb1 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 09:09:01 +00:00
Nicolas Chevobbe
dc772fcaf3 Bug 1603035 - Return a function from EventEmitter.on that removes the event listener when called. r=rcaliman.
This will be helpful when consumers don't want to
keep the target around.
A test is added to ensure this work as expected (and
was failing if the returned function does not call
EventEmitter.off).

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

--HG--
extra : moz-landing-system : lando
2019-12-13 09:08:11 +00:00
Nicolas Chevobbe
7ae0527947 Bug 1603126 - Fix Promise rejections in async-storage. r=jdescottes.
All the rejections were called with 2 arguments, when reject only
cares about the first one.
This patch makes all the reject called with the actual DOMException,
and adds console.error before all those rejections.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 07:55:22 +00:00
Nicolas Chevobbe
948806d70b Bug 1602974 - Catch errors while setting console history to prevent test failures. r=Honza.
Some tests are failing on Linux ccov when adding
item to the webconsole history. I suspect it could
be because some expression have emojis, but I'm
not sure.
Catching the rejection will at least not make the
test fail.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 07:54:08 +00:00
Nicolas Chevobbe
06ba0efd69 Bug 1594442 - Fix browser_webconsole_filter_navigation_marker intermittent. r=Honza.
--HG--
extra : rebase_source : 395b3c8bfdb373c6213375ff20280e2db2902528
2019-12-13 10:00:46 +02:00
Narcis Beleuzu
481c75a2f2 Backed out changeset a7e7d8531816 (bug 1598205) for having the wrong bug number
--HG--
extra : rebase_source : b1063ae497bd8586a412f846f137e29c31e25115
2019-12-13 09:59:55 +02:00
Jan Odvarko
01b714d69c Bug 1592720 - Enable WatchPoints in all channels r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D56882

--HG--
extra : moz-landing-system : lando
2019-12-12 17:13:45 +00:00
Daisuke Akatsuka
9daf9ebab6 Bug 1594643: Update MDN compatibility data. r=rcaliman
Depends on D56849

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

--HG--
extra : moz-landing-system : lando
2019-12-12 16:03:05 +00:00
Daisuke Akatsuka
07e38f1236 Bug 1594643: Remove edge_mobile from the target browsers. r=rcaliman
Remove edge_mobile data from the target browsers because the data was removed
from MDN compat.
115d07f845 (diff-b559db93c279b7e4886705cb45f7ca9c)

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

--HG--
extra : moz-landing-system : lando
2019-12-13 00:18:52 +00:00
Brian Hackett
662a021b39 Bug 1602489 - Basic eager evaluation support, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D56393

--HG--
extra : moz-landing-system : lando
2019-12-12 21:48:03 +00:00
Jason Laster
33f67d36f5 Bug 1602910 - Memoize getBreakpointSources. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D56614

--HG--
extra : moz-landing-system : lando
2019-12-12 21:25:09 +00:00
Arthur Iakab
42e99f7007 Backed out changeset e53756abfbfb (bug 1602910) for causing debugger test failures. 2019-12-12 23:04:35 +02:00
Harald Kirschner
e9bcf0a2ca Bug 1603276 - Use cached instance of DateTimeFormat for WS frames r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D56816

--HG--
extra : moz-landing-system : lando
2019-12-12 20:38:15 +00:00
Jason Laster
26e7a48e95 Bug 1602910 - Memoize getBreakpointSources. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D56614

--HG--
extra : moz-landing-system : lando
2019-12-12 20:37:42 +00:00
Jason Laster
2bac333f88 Bug 1603283 - cache isOriginal source field. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D56815

--HG--
extra : moz-landing-system : lando
2019-12-12 18:35:57 +00:00
Greg Tatum
9c4185b720 Bug 1601939 - Only include about:profiling files on Nightly; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D56754

--HG--
extra : moz-landing-system : lando
2019-12-12 11:36:51 +00:00
Ciure Andrei
6c95adafed Backed out 4 changesets (bug 1602483, bug 1602090) for causing perma leackchecks CLOSED TREE
Backed out changeset 6b057ba06b4a (bug 1602483)
Backed out changeset 9be3269d781d (bug 1602483)
Backed out changeset e3e2c1d7478e (bug 1602090)
Backed out changeset fdc4a588912e (bug 1602090)
2019-12-12 18:37:01 +02:00
Julian Descottes
e7a4ae1a1a Bug 1603389 - Read content-process messages setting from prefs for BrowserToolbox Console r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56888

--HG--
extra : moz-landing-system : lando
2019-12-12 13:10:44 +00:00
Razvan Caliman
57fd8dd59d Bug 1599728 - Create ChangesFront/Actor pair for each target in inspector. r=jdescottes
Request a ChangesFront for each target as soon as is becomes available.

The on-demand approach in D54725 is abandoned because it introduces a client-server round trip on _every_ CSS mutation operation due to the need to ensure the ChangesActor is instantiated. By awaiting `changesFront.setup()` on every mutation, needless slowdown is introduced after the actor becomes available. Furthermore, the approach in D54725 spreads the knowledge about the ChangesFront in too many places in the codebase, something that will only get worse over time as the ChangesActor gains capabilities to track CSS changes from other sources or supports tracking DOM changes.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 15:50:44 +00:00
Nazım Can Altınova
0870dac6cd Bug 1602800 - Backout some of the preferences handling to make sure we have defaults for older firefox versions r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D56721

--HG--
extra : moz-landing-system : lando
2019-12-12 13:54:40 +00:00
Nazım Can Altınova
5a7c30d79f Bug 1602800 - Move the function that gets BrowsingContext ID to a new file inside shared folder r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D56720

--HG--
extra : moz-landing-system : lando
2019-12-12 13:53:31 +00:00
Boris Zbarsky
4425adb1cc Bug 1602483 part 2. Add a window id argument to CheckLoadURIWithPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D56428

--HG--
rename : devtools/client/webconsole/test/browser/browser_webconsole_same_origin_errors.js => devtools/client/webconsole/test/browser/browser_webconsole_checkloaduri_errors.js
rename : devtools/client/webconsole/test/browser/test-same-origin-required-load.html => devtools/client/webconsole/test/browser/test-checkloaduri-failure.html
extra : moz-landing-system : lando
2019-12-12 13:05:12 +00:00
Boris Zbarsky
e0acf6e9fc Bug 1602090 part 2. Create separate CheckMayLoad and CheckMayLoadWithReporting APIs. r=ckerschb
CheckMayLoadAndReport takes a window ID.  This allows us to report
errors from it to the web console as needed.  Most consumers know statically
whether they want reporting or not, so there's no reason to force the ones that
don't to provide window ids.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 13:03:42 +00:00
Alexandre Poirot
682491827d Bug 1594739 - Test workers listening via the TargetList API. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D55189

--HG--
extra : moz-landing-system : lando
2019-12-12 12:33:45 +00:00
Julian Descottes
1d6c24996c 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

--HG--
extra : moz-landing-system : lando
2019-12-12 13:17:10 +00:00
Alexandre Poirot
ad57d93bd5 Bug 1602734 - Expose a boolean flag to know if a target being created or destroyed relates to a target being switched during navigation between processes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D56750

--HG--
extra : moz-landing-system : lando
2019-12-12 10:56:54 +00:00
Alexandre Poirot
94edeb6844 Bug 1602734 - Pass one option object instead of arguments to watchTargets callbacks. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D56713

--HG--
extra : moz-landing-system : lando
2019-12-12 10:41:27 +00:00
Ciure Andrei
b1d260a42b Backed out changeset b4eea71fe5b1 (bug 1291192) for causing browser_webconsole_filter_by_regex_input.js to permafail CLOSED TREE 2019-12-12 13:30:41 +02:00
Harald Kirschner
f5688d1d77 Bug 1291192 - Exclude-mode filtering for Console r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56512

--HG--
extra : moz-landing-system : lando
2019-12-12 10:06:39 +00:00
Ciure Andrei
692bfb7fba Backed out changeset c6f80ffff41b (bug 1291192) for causing browser_webconsole_filter_by_regex_input.js to permafail CLOSED TREE 2019-12-12 12:02:51 +02:00
Ruturaj Vartak
e5d659bb53 Bug 1601911 - WebConsole throws when trying to access Timing panel in network message detail. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56530

--HG--
extra : moz-landing-system : lando
2019-12-12 07:32:33 +00:00
Logan Smyth
d0fabc6e3a Bug 1592430 - Basic support for async live stacks in the debugger server. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D56661

--HG--
extra : moz-landing-system : lando
2019-12-12 06:19:03 +00:00
Sai Hemanth Beeraka
7d8a5fe2e2 Bug 1566521 - Indicate that WS connection is closed. r=Honza,Harald
***
Revision changes: Rename div.p to dom.p

***
Localize connection closed message and add test

***
Display code and reason with connection closed message

***
Remove unnecessary brackets

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

--HG--
extra : moz-landing-system : lando
2019-12-12 08:03:06 +00:00
chujun
0c8c5e7362 Bug 1580547 - Provide mochitest for request blocking from David r=Honza
Tweak David's mochitest

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

--HG--
extra : moz-landing-system : lando
2019-12-12 07:59:11 +00:00
Harald Kirschner
a48cc21faf Bug 1291192 - Exclude-mode filtering for Console r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56512

--HG--
extra : moz-landing-system : lando
2019-12-11 16:17:28 +00:00
Yura Zenevich
c2f2fbf8d2 Bug 1592858 - scroll selected row in the tree view into view when inspecting an accessible object. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D56765

--HG--
extra : moz-landing-system : lando
2019-12-11 22:34:57 +00:00
Brian Hackett
3e68277f59 Bug 1598180 - Optimize searching for matching scripts in a source, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D55592

--HG--
extra : moz-landing-system : lando
2019-12-11 22:54:13 +00:00
Julian Descottes
a0e5d31c31 Bug 1565200 - Add frame connector relying on JsWindowActor instead of message manager r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D51130

--HG--
extra : moz-landing-system : lando
2019-12-11 20:09:24 +00:00
Micah Tigley
3c2e553b75 Bug 1596166 - Remove "height: 30px" on RDM toolbar r=bgrins
The UA input field gets caught off when the browser viewport is too small. This is because the RDM toolbar has an explicit height of 30px set on it, so it can't accomodate the second row created for the UA input.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 19:50:34 +00:00
Jason Laster
9604a4d701 Bug 1583550 - Highlight toolbox paused state. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D55848

--HG--
extra : moz-landing-system : lando
2019-12-11 16:13:00 +00:00
Julian Descottes
5fb20254ae Bug 1525966 - Support string errors when detach fails in target fronts r=nchevobbe
Depends on D55829

In case other rejects are still using strings instead of error objects.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 17:31:52 +00:00
Julian Descottes
5bc4238d39 Bug 1525966 - Reject Error object instead of string in DevTools Front:onPacket r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D55829

--HG--
extra : moz-landing-system : lando
2019-12-11 17:31:39 +00:00
Julian Descottes
6672253814 Bug 1603102 - Use BrowserTestUtils.openNewBrowserWindow in all tests relying on window.OpenNewBrowserWindow r=ochameau
Depends on D56731

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

--HG--
extra : moz-landing-system : lando
2019-12-11 16:29:03 +00:00
Julian Descottes
0d780e34a1 Bug 1603102 - Use BrowserTestUtils.openNewBrowserWindow instead of custom helper in webconsole tests r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56731

--HG--
extra : moz-landing-system : lando
2019-12-11 16:28:42 +00:00
chujun
475cde4af4 Bug 1596114 - Refactor server unit tests part1 r=bhackett,jlast
I refactored some of the unit tests to see if I'm on the right direction. If so, I'll continue with other unit tests.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 16:13:18 +00:00
Brian Hackett
ee87de9d1b Bug 1582266 - Use actual source text when mismatches are found with contents fetched over the network, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D55402

--HG--
extra : moz-landing-system : lando
2019-12-11 14:22:12 +00:00
Neil Deakin
75efe08ebc Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-11 13:37:51 +00:00
Daisuke Akatsuka
369ca073d4 Bug 1588963: Add a jest test for CompatibilityApp component. r=ladybenko
Depends on D55431

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

--HG--
extra : moz-landing-system : lando
2019-12-11 12:23:55 +00:00
Daisuke Akatsuka
48472e295d Bug 1588963: Show a message for no issues. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D55431

--HG--
extra : moz-landing-system : lando
2019-12-10 16:07:41 +00:00
Mark Banner
2103c3b16a Bug 1601681 - Switch recently added files with Windows line endings to Unix. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D55990

--HG--
extra : moz-landing-system : lando
2019-12-11 08:12:49 +00:00
Jeff Walden
62a130ba0a Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56595

--HG--
extra : moz-landing-system : lando
2019-12-11 06:17:44 +00:00
shindli
91924fedc7 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
Yura Zenevich
9db9426776 Bug 1569868 - ensure that accessibility properties list is focused when using browser or inspector context menus to inspect accessibility properties. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D56574

--HG--
extra : moz-landing-system : lando
2019-12-10 22:28:52 +00:00
Kris Maglione
cee320b5fb Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:41 +00:00
Kris Maglione
d7164b11c3 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:28 +00:00
Kris Maglione
37c15883a5 Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53745

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:34 +00:00
Kris Maglione
356e59c6bc Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:22 +00:00
Kris Maglione
b372c01608 Bug 1596918: Part 4a - Re-add eslint-disable comments removed by rewrite. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53742

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:17 +00:00
Kris Maglione
3ca78ce8e3 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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione
16a9b29848 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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Micah Tigley
0bb891728a Bug 1584346 - Make RDM UI's getViewportBrowser return the browser tab if fission-enabled r=mconley,bradwerth
This revision modifies RDM UI’s `getViewportBrowser` to return the tab’s <browser> instead of the <mozbrowser> this.toolWindow’s [getViewportBrowser method](https://searchfox.org/mozilla-central/source/devtools/client/responsive/index.js#176) returns. If the pref `devtools.responsive.browserUI.enabled` is set to true, this will cause this.toolWindow to be null because this object is set during the [swap step when RDM is initialized](https://searchfox.org/mozilla-central/source/devtools/client/responsive/ui.js#150). Since we're not doing away with swap/tunnel until work on RDM fission is complete, we should still preserve the toolWindow property on RDM UI.

For context, this.toolWindow is a reference to the RDM UI’s window, which also happens to be populated with other properties such as `getViewportBrowser` (the function causing the issue), `getViewportSize`, `addInitialViewport`, etc… It’s responsible for holding the RDM UI  chrome:// document which is also where the <mozbrowser> iframe is contained. Please see: https://searchfox.org/mozilla-central/source/devtools/client/responsive/index.js for reference on where these properties are added.

Also, now that the RDM fission work requires the removal of <mozbrowser>, this.toolWindow won't be needed to get access to the toolbar UI. The RDM toolbar will be embedded into the browser UI and can be referenced with `this.rdmFrame`.

So this means toolWindow along with any parts of the code using it should be removed when fission work is complete. I believe [Bug 1585096](https://bugzilla.mozilla.org/show_bug.cgi?id=1585096) would be the correct place to do this.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 22:05:03 +00:00
Miriam
9333e080c1 Bug 1601311 - Ensure removing watchpoint does not change value of corresponding property. r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D56604

--HG--
extra : moz-landing-system : lando
2019-12-10 21:07:05 +00:00
Nicolas Chevobbe
2535ad552d Bug 1601559 - Put Window default properties accessor under <default properties> node. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D55927

--HG--
extra : moz-landing-system : lando
2019-12-10 18:07:02 +00:00
Nicolas Chevobbe
774b0637e2 Bug 1370826 - Render parameter names in function rep. r=Honza.
For some reason the parameterNames was expected as
a prop, but it's available on the function grip
itself.
The rep is fixed, and tests are modified to reflect
this change.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:04:40 +00:00
jaril
158f5e6e60 Bug 1582298 - Fix set/get watchpoint markers in RTL orientation r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D56463

--HG--
extra : moz-landing-system : lando
2019-12-09 21:34:45 +00:00
jaril
dde4d3ecad Bug 1582193 - Skipping breakpoints should also skip watchpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D56477

--HG--
extra : moz-landing-system : lando
2019-12-10 16:16:46 +00:00
Dorel Luca
752d82db80 Backed out 2 changesets (bug 1370826, bug 1601559) for Devtools failures in devtools/client/debugger/test/mochitest/browser_dbg-sourcemapped-scopes.js. CLOSED TREE
Backed out changeset 37142aec03d7 (bug 1601559)
Backed out changeset 5fe8330c1912 (bug 1370826)
2019-12-10 18:17:29 +02:00
Belén Albeza
80ac91c2c5 Bug 1598629 - Part 2: Re-enable disable start button mochitest r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D54964

--HG--
extra : moz-landing-system : lando
2019-12-10 15:52:48 +00:00
Belén Albeza
0162bd6454 Bug 1598629 - Part 1: Debug workers within the new threads panel in the debugger r=bhackett,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D54746

--HG--
rename : devtools/client/application/src/modules/services.js => devtools/client/application/src/modules/application-services.js
extra : moz-landing-system : lando
2019-12-10 15:29:27 +00:00
Nicolas Chevobbe
e123043002 Bug 1601559 - Put Window default properties accessor under <default properties> node. r=Honza.
Depends on D55926

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

--HG--
extra : moz-landing-system : lando
2019-12-10 14:42:07 +00:00
Nicolas Chevobbe
b2a0a8339a Bug 1370826 - Render parameter names in function rep. r=Honza.
For some reason the parameterNames was expected as
a prop, but it's available on the function grip
itself.
The rep is fixed, and tests are modified to reflect
this change.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 12:46:23 +00:00
Yura Zenevich
d1859c28dc Bug 1602516 - ensure that the key for a DOM node property in the sidebar is always DOMNode. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D56420

--HG--
extra : moz-landing-system : lando
2019-12-09 19:56:14 +00:00
Nicolas Chevobbe
6feb0cfa1a Bug 1601022 - Fix browser_webconsole_reverse_search.js intermittent. r=Honza.
The failure indicates that there's a pending call
to the server for highlighting while the connection
is being closed.
I guess that's because the test was logging some
nodes, and the mouse position could trigger a
highlight.
Since we don't really need to log those nodes,
this patch only changes one of the expression.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 14:23:55 +00:00
Nicolas Chevobbe
00bf611d39 Bug 1598205 - Fix browser_webconsole_filter_navigation_marker intermittent. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D56539

--HG--
extra : moz-landing-system : lando
2019-12-10 14:22:52 +00:00
Nicolas Chevobbe
d07235e82b Bug 1602700 - Add a comment in webconsole front destroy function to make it clearer how it behaves. r=jdescottes.
This only highlights the fact that the front will only
do the heavy work once, since we set the _client property
to null, and the function is guarded against the _client
truthiness.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 13:32:15 +00:00
Andreea Pavel
708835de9b Backed out changeset c59242299608 (bug 1582193) for failing xpcshell at test_watchpoint-01.js on a CLOSED TREE 2019-12-10 04:39:52 +02:00
jaril
f8f51c09bf Bug 1582193 - Skipping breakpoints should also skip watchpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D56477

--HG--
extra : moz-landing-system : lando
2019-12-10 00:31:56 +00:00
Miriam
a891e9eb08 Bug 1601476 - Update value with watchpoint when stepping or hitting breakpoint. r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D56476

--HG--
extra : moz-landing-system : lando
2019-12-10 00:32:24 +00:00
Razvan Maries
f68051bd85 Bug 1598205 - Disabled browser_webconsole_eval_in_debugger_stackframe2.js on Windows, Linux and Mac. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D56281

--HG--
extra : moz-landing-system : lando
2019-12-09 07:56:39 +00:00
Boris Zbarsky
de81734f14 Bug 1602093. Make CORS error messages be errors, not warnings. r=ckerschb
These typically indicate a fatal problem for whatever the page is trying to do;
we should give them the appropriate visibility.

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

--HG--
extra : moz-landing-system : lando
2019-12-08 16:38:55 +00:00
Mihai Alexandru Michis
4ccc5c732e Backed out 2 changesets (bug 1525966) for causing devtools failures.
Backed out changeset 06ca873edb4c (bug 1525966)
Backed out changeset 8ff967efc6d6 (bug 1525966)

CLOSED TREE

--HG--
extra : rebase_source : 8fb6432626ea832ed4bf081068d0c1144de066bd
2019-12-09 16:22:08 +02:00
Julian Descottes
b8072aae01 Bug 1525966 - Support string errors when detach fails in target fronts r=nchevobbe
Depends on D55829

In case other rejects are still using strings instead of error objects.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 13:25:12 +00:00
Julian Descottes
ed63cd4ab4 Bug 1525966 - Reject Error object instead of string in DevTools Front:onPacket r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D55829

--HG--
extra : moz-landing-system : lando
2019-12-09 13:05:31 +00:00
Nicolas Chevobbe
e5cb1f73e7 Bug 1316265 - Surface isAsync and isGenerator properties in function grips. r=Honza.
This will allow Reps to consume those and
display more accurate functions informations.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 12:35:04 +00:00
Daniel Varga
6e13799734 Backed out changeset e65c1bcb013f (bug 1601475) for causing build bustage. On a CLOSED TREE 2019-12-09 12:51:07 +02:00
Tyler
103588ae45 Bug 1601475 - Remove ImageContentLoaded event and ImageDocumentLoaded message handling code across the tree r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D56051

--HG--
extra : moz-landing-system : lando
2019-12-09 10:18:25 +00:00
Sorin Davidoi
021c1c02fc Bug 1601444 - fix(devtools/network-monitor): Always show server timings r=Honza
Report server timings if they are sent when the transaction is closed.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 09:58:42 +00:00
Logan Smyth
c89ea4ef95 Bug 1600204 - Part 2: Remove Debugger.Frame.prototype.generator since it is already on script. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D55232

--HG--
extra : moz-landing-system : lando
2019-12-06 02:57:20 +00:00
Brian Hackett
44cd7a73e5 Bug 1596939 Part 3 - Pause new service workers for the target's origin, r=jlast.
Depends on D54293

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

--HG--
extra : moz-landing-system : lando
2019-12-07 21:05:14 +00:00
Brian Hackett
ad3914884b Bug 1596939 Part 2 - Support pausing new service workers for a specific origin, r=jdescottes.
Depends on D54292

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

--HG--
extra : moz-landing-system : lando
2019-12-07 18:18:03 +00:00
Brian Hackett
2a9b3b1bb9 Bug 1595964 Part 2 - Expose evaluating worker in service worker registration front, r=jdescottes.
Depends on D54286

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

--HG--
extra : moz-landing-system : lando
2019-12-07 18:18:09 +00:00