Граф коммитов

15511 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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 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
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
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
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
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
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