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

15204 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe 116dcd0e39 Bug 1595012 - Remove WebConsoleFront evaluateJS. r=jdescottes.
The function is only used in tests, which is a bit concerning
as we should test the actual function being used (evaluateJSAsync).

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

--HG--
extra : moz-landing-system : lando
2019-11-10 11:47:45 +00:00
Brian Hackett 5ebc1eec8c Bug 1594836 - Don't detach from threads in the debugger when navigating, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D52374

--HG--
extra : moz-landing-system : lando
2019-11-09 22:16:04 +00:00
Dorel Luca 5bb844b4ce Backed out changeset b8c3e2f3cd42 (bug 1595012) for causing DevTools failures in devtools/client/webconsole/test/browser/browser_webconsole_stubs_evaluation_result.js. CLOSED TREE 2019-11-10 05:14:38 +02:00
Nicolas Chevobbe 65a171ad7a Bug 1595012 - Remove WebConsoleFront evaluateJS. r=jdescottes.
The function is only used in tests, which is a bit concerning
as we should test the actual function being used (evaluateJSAsync).

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

--HG--
extra : moz-landing-system : lando
2019-11-09 11:50:11 +00:00
Markus Stange 5d1bd1ad8b Bug 1563305 - Make error objects propagate correctly from the worker into the profiler page. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D44402

--HG--
extra : moz-landing-system : lando
2019-11-08 20:44:50 +00:00
Brian Hackett d482d50703 Bug 1594597 - Show workers in OBT debugger, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D52110

--HG--
extra : moz-landing-system : lando
2019-11-08 20:26:19 +00:00
Jason Laster 58def33d5e Bug 1594979 - Logpoints fail to log with `frame is null`. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D52310

--HG--
extra : moz-landing-system : lando
2019-11-08 16:49:11 +00:00
Belén Albeza 49be1da14e Bug 1590758 - Fix blank panel when changing to different pages with service workers from the same domain r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D52147

--HG--
extra : moz-landing-system : lando
2019-11-08 16:58:18 +00:00
Jason Laster 96dcd40e06 Bug 1593846 - Paused packet should return a frame front. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D52259

--HG--
extra : moz-landing-system : lando
2019-11-08 16:52:25 +00:00
Micah Tigley 0cd65a9ddc Bug 1578887 - Implement simulating viewport orientation for embedded RDM UI r=gl
Differential Revision: https://phabricator.services.mozilla.com/D51706

--HG--
extra : moz-landing-system : lando
2019-11-07 19:31:51 +00:00
Daisuke Akatsuka 47979b6cee Bug 1592514: Make the compatibility panel scrollable. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D51233

--HG--
extra : moz-landing-system : lando
2019-11-08 14:04:47 +00:00
Daisuke Akatsuka 6916ea334f Bug 1592514: Add split line to the issue item. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D51232

--HG--
extra : moz-landing-system : lando
2019-11-08 14:13:23 +00:00
Daisuke Akatsuka 44375fbe90 Bug 1592514: Show warning/info icon. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D51231

--HG--
extra : moz-landing-system : lando
2019-11-08 14:04:40 +00:00
Daisuke Akatsuka b009b01f4a Bug 1592514: Show the issue causes. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D51230

--HG--
extra : moz-landing-system : lando
2019-11-08 14:04:22 +00:00
Daisuke Akatsuka aba46c505a Bug 1592514: Make the CSS properties which caused the isse to be a link for the MDN doc. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D51229

--HG--
extra : moz-landing-system : lando
2019-11-08 14:04:04 +00:00
Nicolas Chevobbe 4051daad83 Bug 1594637 - Fix browser_webconsole_output_order intermittent. r=Honza.
It's not obvious to me what the culprit is, but it may be because
of the clearOutput call somehow.
Let's see if this fix the intermittent.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:52:16 +00:00
Nicolas Chevobbe dc2101bfa2 Bug 1572667 - Re-enable stubs tests. r=Honza.
The tests are rewritten so we only have one test per
stub type. The stubs can be re-generated by passing
the --setenv WEBCONSOLE_STUBS_UPDATE=true arg when running
mach test.
We take this as an opportunity to not store the Messages
directly, but we generate them programmatically, which would
still reveal a bug as most of the test import messages.
Since we're doing that, some messages aren't localized, so
we need to add them to the L10N fixtures we have (which is
revamped a bit as getStr was getting too complex).

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

--HG--
extra : moz-landing-system : lando
2019-11-08 12:06:42 +00:00
Mihai Alexandru Michis 9d7b170bed Bug 1591590 - Disable browser_toolbox_console_new_process.js on macos debug, linux debug and windows ccov for frequent failures. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D52132

--HG--
extra : moz-landing-system : lando
2019-11-08 10:22:54 +00:00
Michael Hoffmann cdfcf7765d Bug 1579982 - Handle dark theme in profiler popup r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D52235

--HG--
extra : moz-landing-system : lando
2019-11-08 10:22:03 +00:00
Noemi Erli 7816803844 Backed out changeset 22df7ed1b3c4 (bug 1593846) for causing debugger failures CLOSED TREE 2019-11-08 06:16:34 +02:00
Jason Laster d3ae1f3a8d Bug 1593846 - Paused packet should return a frame front. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D52259

--HG--
extra : moz-landing-system : lando
2019-11-07 23:19:04 +00:00
Jason Laster cfe4e9651b Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : moz-landing-system : lando
2019-11-07 20:22:43 +00:00
Nicolas Chevobbe 3b5a8879f9 Bug 1592969 - Show async separator in Frame component. r=davidwalsh.
Differential Revision: https://phabricator.services.mozilla.com/D52133

--HG--
extra : moz-landing-system : lando
2019-11-07 17:28:45 +00:00
Alexandre Poirot 7b1b1cd915 Bug 1592363 - Make the console use the TargetList. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D48860

--HG--
extra : moz-landing-system : lando
2019-11-07 15:05:10 +00:00
Julian Descottes 16b0bab094 Bug 1569572 - Do not throw in DevTools key-shortcuts.js when called with a null object r=nchevobbe
This situation can happen if a locale does not set a value for a localized devtools shortcut, ie writes
toolbox.elementPicker.key=
(with nothing after the = sign)

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

--HG--
extra : moz-landing-system : lando
2019-11-07 11:02:57 +00:00
Julian Descottes 222bc5ccde Bug 1593921 - Use eslint-disable-next-line to disable complexity checks in DevTools r=pbro
Using next-line is less error prone for refactorings than wrapping methods with enable/disable blocks.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 14:29:04 +00:00
Nicolas Chevobbe 5e8b8ce165 Bug 1594379 - Update devtools-launchpad to 0.0.160. r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51987

--HG--
extra : moz-landing-system : lando
2019-11-06 17:48:48 +00:00
Andreea Pavel 0f4b106038 Bug 1583706 - remove skip-if from browser_webconsole_location_logpoint_debugger_link.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51208

--HG--
extra : moz-landing-system : lando
2019-11-04 09:11:29 +00:00
Daniel Varga 6df4c46d72 Backed out 2 changesets (bug 1571704) for xpcshell failure at devtools/server/tests/unit/test_blackboxing-01.js. On a CLOSED TREE
Backed out changeset c4bcee0f733a (bug 1571704)
Backed out changeset 25e20d00d43f (bug 1571704)
2019-11-07 01:33:18 +02:00
Jason Laster 5110bd1de0 Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : source : 5dd0214c512990cd9417ad504406abb71c60654c
2019-11-06 20:07:35 +00:00
Brian Hackett a4cf74ad96 Bug 1563607 Part 5 - Add test for windowless service worker debugging, r=jdescottes.
Depends on D47544

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

--HG--
extra : source : edd1135fd5078ccfb0fd6d97b69209dfcf82ab97
2019-11-06 18:26:18 +00:00
Brian Hackett 775761e2ad Bug 1563607 Part 4 - Update threads and sources after navigation, r=jlast.
Depends on D47543

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

--HG--
extra : source : ee2bb2d156595d2c03dbd478922f56a538935e6f
2019-11-06 18:26:20 +00:00
Brian Hackett 0af504981d Bug 1563607 Part 2 - Attach to service workers in debugger when pref is enabled, r=jdescottes,jlast.
Depends on D47541

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

--HG--
extra : source : 6d02ecfce856b46a71d1c0a2050f57c7736c81f8
2019-11-06 20:20:36 +00:00
Coroiu Cristina 086fc4d815 Backed out 4 changesets (bug 1563607) for causing hunks failed when backout Bug 1592616 on a CLOSED TREE
Backed out changeset edd1135fd507 (bug 1563607)
Backed out changeset ee2bb2d15659 (bug 1563607)
Backed out changeset 6d02ecfce856 (bug 1563607)
Backed out changeset 33e9b3eecd98 (bug 1563607)
2019-11-06 22:56:02 +02:00
Coroiu Cristina 513f9646d7 Backed out changeset 5dd0214c5129 (bug 1571704) for ESlint failure and causing hunks failed when backout Bug 1592616 on a CLOSED TREE 2019-11-06 22:52:53 +02:00
Jason Laster ff3a09fd85 Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : moz-landing-system : lando
2019-11-06 20:07:35 +00:00
Brian Hackett 2918d993c8 Bug 1563607 Part 5 - Add test for windowless service worker debugging, r=jdescottes.
Depends on D47544

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

--HG--
extra : moz-landing-system : lando
2019-11-06 18:26:18 +00:00
Brian Hackett 41a37063f0 Bug 1563607 Part 4 - Update threads and sources after navigation, r=jlast.
Depends on D47543

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

--HG--
extra : moz-landing-system : lando
2019-11-06 18:26:20 +00:00
Brian Hackett d2acbc0ce3 Bug 1563607 Part 2 - Attach to service workers in debugger when pref is enabled, r=jdescottes,jlast.
Depends on D47541

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

--HG--
extra : moz-landing-system : lando
2019-11-06 20:20:36 +00:00
Anny Gakhokidze 0ba78d3380 Bug 1592829 - Remove hasContentOpener logic from C++ and check for content opener directly from JavaScript, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51318

--HG--
extra : moz-landing-system : lando
2019-11-06 20:14:32 +00:00
Daniel Varga 8d89d86da9 Backed out 2 changesets (bug 1592829) for gecko build failure. On a CLOSED TREE
Backed out changeset 73013c2281fb (bug 1592829)
Backed out changeset 3257e8902653 (bug 1592829)
2019-11-06 22:09:41 +02:00
Anny Gakhokidze 1f167c323c Bug 1592829 - Remove hasContentOpener logic from C++ and check for content opener directly from JavaScript, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51318

--HG--
extra : moz-landing-system : lando
2019-11-05 22:25:56 +00:00
Coroiu Cristina b78c37e290 Backed out 4 changesets (bug 1563607) for debugger failures on a CLOSED TREE
Backed out changeset c8f4de2596bc (bug 1563607)
Backed out changeset 1dc694b39efa (bug 1563607)
Backed out changeset cec07747fb2a (bug 1563607)
Backed out changeset a0d9b36ac4fe (bug 1563607)
2019-11-06 20:20:36 +02:00
Brian Hackett d673356e69 Bug 1563607 Part 5 - Add test for windowless service worker debugging, r=jdescottes.
Depends on D47544

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

--HG--
extra : moz-landing-system : lando
2019-11-06 17:10:49 +00:00
Brian Hackett 5fa2446c5e Bug 1563607 Part 4 - Update threads and sources after navigation, r=jlast.
Depends on D47543

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

--HG--
extra : moz-landing-system : lando
2019-11-06 17:14:55 +00:00
Brian Hackett 54ae9f0bf6 Bug 1563607 Part 2 - Attach to service workers in debugger when pref is enabled, r=jdescottes,jlast.
Depends on D47541

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

--HG--
extra : moz-landing-system : lando
2019-11-06 17:23:54 +00:00
Ricky Stewart 50a5dbb671 Bug 1573560 - Have Node compilation write directly into FINAL_TARGET instead of requiring a symlink r=firefox-build-system-reviewers,jlast,mshal
Differential Revision: https://phabricator.services.mozilla.com/D47367

--HG--
extra : moz-landing-system : lando
2019-11-04 23:15:19 +00:00
Jason Laster 9caf32ef3f Bug 1592718 - Enable WatchPoints in Nightly and DevEdition. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D51742

--HG--
extra : moz-landing-system : lando
2019-11-05 20:52:58 +00:00
Brad Werth af12ec46b7 Bug 1593073 Part 2: Update one of the new RDM Fission tests to use the new test function. r=mtigley
Depends on D51717

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:13:32 +00:00
Brad Werth 06763e3bb6 Bug 1593073 Part 1: Expand the addRDMTask method to include optional checks with the browser embedded UI. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D51717

--HG--
extra : moz-landing-system : lando
2019-11-05 20:49:58 +00:00
Narcis Beleuzu a36c38a36a Backed out changeset 5d1f3e0160fa (bug 1592718) for BC failures on debugger.js . CLOSED TREE 2019-11-05 21:23:22 +02:00
Junior Hsu 167a3b63a4 Bug 1544231 - add image/webp to default navigation value of the Accept header, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D51199

--HG--
extra : moz-landing-system : lando
2019-11-01 15:54:57 +00:00
Jason Laster decdfa79d9 Bug 1592718 - Enable WatchPoints in Nightly and DevEdition. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D51742

--HG--
extra : moz-landing-system : lando
2019-11-05 16:38:01 +00:00
Brian Hackett 5efbcaefb0 Bug 1594042 - Improve logpoint performance, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51846

--HG--
extra : moz-landing-system : lando
2019-11-05 16:17:13 +00:00
Belén Albeza 6e5c96847e Bug 1590756: Fix unregister service workers r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D51257

--HG--
extra : moz-landing-system : lando
2019-11-05 15:53:54 +00:00
David Walsh ee044d40a7 Bug 1586667 - Update case for blocked icon tooltip r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D48985

--HG--
extra : moz-landing-system : lando
2019-11-04 08:41:52 +00:00
wartmanm 2363fb2b3f Bug 1590824 - Don't pass sourceId in jumpToDefinitionButton event listener. r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D50867

--HG--
extra : moz-landing-system : lando
2019-11-05 13:13:16 +00:00
Brian Hackett 85e9afa634 Bug 1583546 - Add test that the OBT debugger can pause even when it hasn't been opened, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D50225

--HG--
extra : moz-landing-system : lando
2019-11-05 12:32:11 +00:00
Richard O. Gregory 8640fa2942 Bug 1589333 - Enable ESLint for all of devtools/client/shared/ (manual changes). r=Standard8,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D50637

--HG--
extra : moz-landing-system : lando
2019-11-04 18:05:14 +00:00
Richard O. Gregory e6f8e04a02 Bug 1589333 - Enable ESLint for all of devtools/client/shared/ (automatic changes). r=Standard8,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D50636

--HG--
extra : moz-landing-system : lando
2019-11-04 18:03:21 +00:00
Julian Descottes 76606dfbc7 Bug 1593794 - Add a try catch around grid-inspector updateGridPanel (follow up to Bug 1591952) r=gl
Depends on D51663

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

--HG--
extra : moz-landing-system : lando
2019-11-05 07:31:01 +00:00
Nicolas Chevobbe b965151cf7 Bug 1593654 - Fix issue when expanding CSS warnings. r=rcaliman.
The issue was in commands.js evaluateJSAsync function where
we were trying to use an undefined parameter.
The regression wasn't spotted earlier because we only have
mocha test for CSS warning, and they don't assert this
codepath.
A mochitest is added on this patch to ensure CSS Warnings
can be expanded, that they display the impacted elements
as expected, and that clicking on the icon selects the
expected element in the inspector.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 15:29:22 +00:00
Brian Hackett cff7d7fb16 Bug 1592854 - Workaround rendering problems with conditional panel during test, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D51438

--HG--
extra : moz-landing-system : lando
2019-11-05 01:28:08 +00:00
Jason Laster 16fab4466c Bug 1586904 - Refreshing while paused fails. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D51484

--HG--
extra : moz-landing-system : lando
2019-11-04 23:45:13 +00:00
Julian Descottes 3ff4d952e6 Bug 1591952 - Add a global try catch around grid-inspector onReflow to swallow exceptions after destroy r=gl
This method is very asynchronous, called on reflows and throttled. Which means it has a high chance of intermittently failing after destroy.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 19:44:32 +00:00
Itiel f985df675a Bug 1593542 - General RTL improvements to the network monitor r=jdescottes
Also improve CSS code style/quality

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

--HG--
extra : moz-landing-system : lando
2019-11-04 17:46:46 +00:00
Jason Laster 90ac689cde Bug 1583806 - Add a binary path override for the browser toolbox. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D51138

--HG--
extra : moz-landing-system : lando
2019-11-04 17:26:12 +00:00
Razvan Caliman 9ce94dcb9e Bug 1592604 - Ensure flexbox highlighter events don't influence grid badges in markup view. r=gl
When creating grid and display badges in the markup view, ensure they listen only to their corresponding highlighter events.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 15:20:18 +00:00
Julian Descottes cf665518e8 Bug 1591140 - Allow chrome privileged documents to preventDefault contextmenu events regardless of dom.event.contextmenu.enabled r=gl,nika,mconley
@gl can you take a look at the DevTools test added here?
@nika @mconley I used this.browsingContext.docShell.isContent here to rule out chrome-privileged documents. Do you know if there is better way to check if the current document is chrome-privileged or not?

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

--HG--
extra : moz-landing-system : lando
2019-11-04 08:20:02 +00:00
Neil Deakin d12fb42226 Bug 1592157, convert LinkHandlerChild.jsm to JSWindowActor to support fission, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51026

--HG--
extra : moz-landing-system : lando
2019-11-04 14:48:04 +00:00
Alexandre Poirot 02b06ea7a2 Bug 1471754 - Make the Toolbox use the TargetList. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D48858

--HG--
extra : moz-landing-system : lando
2019-11-04 11:04:05 +00:00
Itiel a02bd2636c Bug 1593531 - RTL fixes for the truncation message in the websockets panel r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D51532

--HG--
extra : moz-landing-system : lando
2019-11-04 10:04:46 +00:00
Itiel 235c8782ec Bug 1593527 - Cleanup CustomRequestPanel.css to fix RTL r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D51531

--HG--
extra : moz-landing-system : lando
2019-11-04 09:58:40 +00:00
Nicolas Chevobbe 9c0b3f6b24 Bug 1570524 - Fix browser_webconsole_cached_messages intermittent. r=Honza.
Wait for the messages to be displayed, and requestLongerTimeout,
as test failures logs seem to indicate that slower machine take
more than 30s to run the test.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 09:53:31 +00:00
Nicolas Chevobbe a558e51a4d Bug 1590974 - Pass the toolbox document to MenuButton in the a11y panel. r=yzen.
This makes it possible for the menus to not be constrained
to the panel boundaries if they are taller than the panel
itself (which could be the case for the simulate menu as
it has lots of items).
We need to style the button with a link role in the toolbox
CSS so they don't look like real buttons.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 06:38:37 +00:00
jaril 9f18dcfb2a Bug 1593302 - Fix frame timeline scrubbing so it doesn't highlight other elements r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D51424

--HG--
extra : moz-landing-system : lando
2019-11-04 04:52:05 +00:00
Micah Tigley a34e986f2f Bug 1588438 - Refactor deprecated touch event APIs. r=ochameau
This revision refactors RDM's touch simulator to use modern touch web APIs where possible.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 23:05:37 +00:00
Micah Tigley 7b518bfeac Bug 1578865 - Show the device settings modal over the RDM UI . r=gl
Since closing D50559, we're not using CSS Grid for the browser's container layout (see D48778 for context). This means positioning the device settings modal using CSS grid areas won't work.

An alternative to this is to contain the RDM toolbar inside the browser stack now that it uses CSS Grid. We can then use absolute positioning to have the RDM toolbar always positioning on top of the browser element and adjust its size when the device settings is opened.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 19:23:55 +00:00
Florens Verschelde d57b479711 Bug 1525939 - Use shared Accordion component in Inspector; r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D43640

--HG--
extra : moz-landing-system : lando
2019-11-01 16:11:13 +00:00
Nicolas Chevobbe df353efb8c Bug 1592618 - Fix test memory leak in browser_jsterm_file_load_save_keyboard_shortcut.js .r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D51271

--HG--
extra : moz-landing-system : lando
2019-11-01 14:35:54 +00:00
Nicolas Chevobbe 07a531158b Bug 1592550 - Allow saveAs util function to be passed an array of filters. r=Honza.
A new parameter is added, and it expect an array
of filter objects (which contain a pattern and
a label properties), which are going to be used
by the save file dialog.

Depends on D51070

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

--HG--
extra : moz-landing-system : lando
2019-11-01 09:26:18 +00:00
chujun 9d1969b69b Bug 1592904-Extenstion typo fix r=davidwalsh
Change occurrence of extenstion to extension in debugger

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

--HG--
extra : moz-landing-system : lando
2019-10-31 17:03:59 +00:00
Julian Descottes 0257e34647 Bug 1592996 - Bail out from walker.findNodeFront if the walker cannot reach the selectors r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D51321

--HG--
extra : moz-landing-system : lando
2019-11-01 13:59:12 +00:00
Jason Laster cd8222f74c Bug 1581249 - Revert - The timeline should show breakpoint hits. r=bhackett
This reverts commit 34ddff68bdfc54cc61252cd76e708697d1629e86.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 00:05:58 +00:00
Brad Werth 8e14b87503 Bug 1579269 Part 2: Add a test of the inRDMPane property. r=mtigley
This test is setup to run both with and without the pref
"devtools.responsive.browserUI.enabled" set. Ideally, we can find a
way to refactor this structure into something that can be put into
devtools/client/responsive/test/browser/head.js, and other helper
functions in that file can be modified to work with the pref on or
off.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 21:17:21 +00:00
Brad Werth b5785ce2c6 Bug 1579269 Part 1: Make the document inRDMPane property set via a new emulation actor method. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D51020

--HG--
extra : moz-landing-system : lando
2019-10-31 21:16:58 +00:00
Sorin Davidoi 04c35ed680 Bug 1589744: Don't update hidden tabs when not necessary r=davidwalsh
They only need to be updated from `componentDidUpdate` if the open tabs have changed.

Before: https://perfht.ml/32w6iwg
After: https://perfht.ml/2Bqk7R0
Diff: https://perfht.ml/2pvNyhW

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

--HG--
extra : moz-landing-system : lando
2019-10-31 09:38:47 +00:00
Cosmin Sabou 1ba5593436 Backed out changeset 9f5359d5db86 (bug 1583546) for devtools failures on browser_webconsole_location_logpoint_debugger_link.js 2019-10-31 17:54:25 +02:00
Jason Laster a76f552717 Bug 1592755 - Remove _migrateProfileDir usage. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D51170

--HG--
extra : moz-landing-system : lando
2019-10-31 10:56:13 +00:00
Jason Laster d059c73cf7 Bug 1589546 - Timeline markers move when the timeline updates. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D51217

--HG--
extra : moz-landing-system : lando
2019-10-31 13:29:40 +00:00
Brian Hackett 7665a7d7c0 Bug 1571863 Part 2 - Handle failures when communicating with source fronts, and reenable browser_dbg-worker-scopes.js, r=loganfsmyth.
Depends on D50762

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

--HG--
extra : moz-landing-system : lando
2019-10-31 13:55:09 +00:00
Brian Hackett 7efef281eb Bug 1583546 - Add test that the OBT debugger can pause even when it hasn't been opened, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D50225

--HG--
extra : moz-landing-system : lando
2019-10-31 13:49:28 +00:00
Brian Hackett d3809112ad Bug 1592730 - Make target updates async friendly, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51158

--HG--
extra : moz-landing-system : lando
2019-10-31 13:44:20 +00:00
Belén Albeza 3c264295d6 Bug 1592661: Re-enable Manifest browser tests on try r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D51251

--HG--
extra : moz-landing-system : lando
2019-10-31 12:54:38 +00:00
Julian Descottes 3f0e2f4c4f Bug 1592517 - Migrate devtools DOMHelpers.jsm from JSM to plain JS module r=ochameau
Depends on D51054

Summary of the changes here:
- move DOMHelpers.jsm to dom-helpers.js
- remove all unused methods
- converted to a static helper to avoid instanciating DOMHelpers objects for no reason
- updated call sites accordingly

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

--HG--
rename : devtools/shared/DOMHelpers.jsm => devtools/shared/dom-helpers.js
extra : moz-landing-system : lando
2019-10-30 11:25:01 +00:00
Daisuke Akatsuka 7673889b29 Bug 1592871: Add test whether the ruleview will not be broken. r=gl
Depends on D51219

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

--HG--
extra : moz-landing-system : lando
2019-10-31 05:17:53 +00:00
Anshul 4ebcdca08e Bug 1591975 - Summary: Do not render Watchpoint button in console r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D50984

--HG--
extra : moz-landing-system : lando
2019-10-31 05:02:32 +00:00
jaril ce02064d8a Bug 1592775 - Fix jumping behavior in frame timeline
Differential Revision: https://phabricator.services.mozilla.com/D51182

--HG--
extra : moz-landing-system : lando
2019-10-31 03:22:26 +00:00
Andreea Pavel e86554ebb1 Backed out changeset 723eb1f37393 (bug 1592775) for debugger failure on a CLOSED TREE 2019-10-31 04:49:03 +02:00
jaril c486c0a256 Bug 1592775 - Fix jumping behavior in frame timeline r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D51182

--HG--
extra : moz-landing-system : lando
2019-10-31 02:32:14 +00:00
jaril 789e9699c4 Bug 1592751 - Maintain purple line above paused console message in Replay r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D51167

--HG--
extra : moz-landing-system : lando
2019-10-31 01:39:19 +00:00
Brian Hackett 909ce93ac8 Bug 1580184 - Avoid creating duplicate entries in the source tree, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D50268

--HG--
extra : moz-landing-system : lando
2019-10-30 22:04:22 +00:00
Brian Hackett efb779ae1a Bug 1558771 - Sync breakpoints when new source actors appear, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D50744

--HG--
extra : moz-landing-system : lando
2019-10-28 13:26:26 +00:00
Kashav Madan faf9a2e212 Bug 1582531 - Update fission annotations for tests that fail cleanly, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D50508

--HG--
extra : moz-landing-system : lando
2019-10-30 21:51:35 +00:00
Gabriel Luong 48b7b4b362 Bug 1568876 - Make copyRule in the ChangesView fission compatible. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D50973

--HG--
extra : moz-landing-system : lando
2019-10-30 19:51:48 +00:00
Julian Descottes c87fb76740 Bug 1591013 - Support lazyImporter in reject-some-requires r=Standard8,nchevobbe
Depends on D50466

reject-some-requires only supports require/lazyRequireGetter at the moment
We still have a few call sites for lazyImporter, even though they probably should be
migrated to lazyRequireGetter IMO.

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

--HG--
extra : moz-landing-system : lando
2019-10-30 08:31:16 +00:00
chujun 0815c788fc Bug 1588803-Show sources after setting directory root r=davidwalsh
1.Show sources and thread name after a thread is set to root
2.Show sources under chrome://
3.Show extension name and icon if an extension directory is set to root

{F1665109}
I'm building a better understanding of sources, sourcesTree and their utils. There could be better solutions than the ones I thought of. I'll appreciate feedback or discussions!

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

--HG--
extra : moz-landing-system : lando
2019-10-30 07:32:39 +00:00
Nicolas Chevobbe 4519e50d89 Bug 1592308 - Add keyboard shortcut for loading / saving from console input. r=Honza.
Ctrl+O (Cmd+O on OSX) will load file content into the console input.
Ctrl+S (Cmd+S on OSX) will show the file dialog for the user
to save the console input content into a file.

A test is added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-10-30 10:26:49 +00:00
Julian Descottes e266463281 Bug 1592513 - Move DOMHelpers.jsm from devtools/client/shared/ to devtools/shared/ r=rcaliman
Since I started using this helper in devtools/server/ (Node actor), the file needs to move outside of devtools/client

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

--HG--
rename : devtools/client/shared/DOMHelpers.jsm => devtools/shared/DOMHelpers.jsm
extra : moz-landing-system : lando
2019-10-30 11:05:04 +00:00
Oana Pop Rus 304e3fed81 Bug 1582594 - Disable browser_markup_flex_display_badge.js on Linux, Mac and Windows r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D50893

--HG--
extra : moz-landing-system : lando
2019-10-30 09:12:40 +00:00
Nicolas Chevobbe 6043a21348 Bug 1591404 - Remove unused tern and show-hint CodeMirror addons. r=gl.
Differential Revision: https://phabricator.services.mozilla.com/D50937

--HG--
extra : moz-landing-system : lando
2019-10-30 06:58:51 +00:00
Gurzau Raul 29cef09b45 Backed out 2 changesets (bug 1591013) for eslint failure at inspector/node.js on a CLOSED TREE.
Backed out changeset 5d53ab2f3152 (bug 1591013)
Backed out changeset d888aded0e70 (bug 1591013)
2019-10-30 00:56:04 +02:00
Julian Descottes a2bad4c3c2 Bug 1591013 - Support lazyImporter in reject-some-requires r=Standard8,nchevobbe
Depends on D50466

reject-some-requires only supports require/lazyRequireGetter at the moment
We still have a few call sites for lazyImporter, even though they probably should be
migrated to lazyRequireGetter IMO.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 22:10:00 +00:00
Micah Tigley 04dddd2796 Bug 1585080 - Make RDM browser <stack> use CSS Grid r=mconley,gl
Differential Revision: https://phabricator.services.mozilla.com/D50559

--HG--
extra : moz-landing-system : lando
2019-10-29 19:49:03 +00:00
zhaogang f466469108 Bug 1591058 - Put the memorization of selected location into togglePrettyPrint() . r=davidwalsh
Now the `togglePrettyPrint` and `selectPrettyLocation` together handle the mapping.

mochitest is added.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 16:31:19 +00:00
Itiel d26a949e7e Bug 1590212 - More RTL fixes to the console editor r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D49986

--HG--
extra : moz-landing-system : lando
2019-10-29 12:40:13 +00:00
Mihai Alexandru Michis 30c8de3920 Backed out changeset ca55fba5a3a3 (bug 1592144) for causing node devtools failures. CLOSED TREE 2019-10-29 16:19:31 +02:00
David Walsh 50a693991f Bug 1592144 - Only set frame logpoint if frame exists r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D50875

--HG--
extra : moz-landing-system : lando
2019-10-29 07:48:23 +00:00
Nicolas Chevobbe d8758a92f8 Bug 1590093 - Lazy load console components. r=Honza.
We try to lazy load all the things we know we might
not need directly when opening the console.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 10:46:51 +00:00
Tim Nguyen 2ef4b4c3c7 Bug 1586281 - Fix network monitor resizer in RTL mode. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D50706

--HG--
extra : moz-landing-system : lando
2019-10-29 12:14:28 +00:00
Narcis Beleuzu 17b37761e8 Backed out changeset 3534c1bfbd8e (bug 1590212) as per Itiel`s request. CLOSED TREE 2019-10-29 14:11:43 +02:00
Michael Ratcliffe 6badf9242f Bug 1491811 - Rules: replace custom checkbox with -moz-appearance:checkbox r=fvsch
***
Bug 1491811 - Get screenshots of Rule View with native checkboxes

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

--HG--
extra : moz-landing-system : lando
2019-10-28 17:19:53 +00:00
Emilio Cobos Álvarez 4825f0f201 Bug 1591297 - Remove -moz-binding, nsStyleDisplay::mBinding and similar. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50556

--HG--
extra : moz-landing-system : lando
2019-10-26 11:37:33 +00:00
Itiel 571019ecae Bug 1590212 - More RTL fixes to the console editor r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D49986

--HG--
extra : moz-landing-system : lando
2019-10-29 07:59:04 +00:00
Julian Descottes c72c1dcdcc Bug 1588773 - Use ContentDOMReference for context menu Inspect Element r=mconley,pbro
Depends on D49941

Using ContentDOMReference instead of creating an array of selectors makes inspect element more stable in case the page is modified between after the contextmenu opens.
It will also make the feature easier to make fission compatible

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

--HG--
extra : moz-landing-system : lando
2019-10-28 09:10:29 +00:00
Jason Laster ddef712d8f Bug 1580165 - fix selected node for console; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D50126

--HG--
extra : moz-landing-system : lando
2019-10-29 00:36:23 +00:00
Anshul ec63a27082 Bug 1590811 - Better align the breakpoint icon and change hover effects.
Differential Revision: https://phabricator.services.mozilla.com/D50157

--HG--
extra : moz-landing-system : lando
2019-10-28 22:24:26 +00:00
jaril ba28db66a0 Bug 1581245 - Add a frame timeline to web replay
Differential Revision: https://phabricator.services.mozilla.com/D49698

--HG--
extra : moz-landing-system : lando
2019-10-28 14:17:18 +00:00
Arthur Iakab 4320e59942 Backed out changeset 42823d984687 (bug 1580165) for causing devtools failures on browser_toolbox_remoteness_change.js. CLOSED TREE
--HG--
extra : rebase_source : 141bf36ac3a9ab307613c6489c156f57cead397d
2019-10-28 22:36:11 +02:00
Sorin Davidoi 22872132ba Bug 1580323 - test(browser_dbg-quick-open): Remove timeouts
Increase stability by replacing the arbitrary timeouts with waiting for the DOM.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 19:47:23 +00:00
David Walsh f69451b64a Bug 1590594 - Properly reflect skipping state within the debugger server r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D50297

--HG--
extra : moz-landing-system : lando
2019-10-28 16:12:22 +00:00
Jason Laster 4bc1df38fd Bug 1580165 - fix selected node for console; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D50126

--HG--
extra : moz-landing-system : lando
2019-10-28 17:19:35 +00:00
Nicolas Chevobbe d6786a8b07 Bug 1591330 - Remove LongStringClient. r=jdescottes.
The LongStringClient is removed and we replace its
usage with LongStringFront instead.
This require a few variable/function renaming, as
well as updating the mocks we use in node tests.

Switch usage to LongStringFront instead.

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

--HG--
rename : devtools/client/debugger/packages/devtools-reps/src/object-inspector/tests/__mocks__/long-string-client.js => devtools/client/debugger/packages/devtools-reps/src/object-inspector/tests/__mocks__/string-front.js
rename : devtools/client/debugger/packages/devtools-reps/src/object-inspector/tests/component/create-long-string-client.js => devtools/client/debugger/packages/devtools-reps/src/object-inspector/tests/component/create-long-string-front.js
extra : moz-landing-system : lando
2019-10-28 16:22:06 +00:00
Itiel 6d5192d14e Bug 1588367 - Convert all relevant uses of float: right/left to logical properties on devtools/ r=pbro
Depends on D49087

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

--HG--
extra : moz-landing-system : lando
2019-10-28 18:32:29 +00:00
Brian Hackett dd6371d439 Bug 1591108 - Don't prompt for connection when using ToolboxTask, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D50751

--HG--
extra : moz-landing-system : lando
2019-10-28 16:51:15 +00:00
Ciure Andrei 26fcdda229 Backed out changeset 0a516296693b (bug 1590093) for causing browser_jsterm_selfxss.js to permafail CLOSED TREE 2019-10-28 17:15:50 +02:00
Nicolas Chevobbe 297ff75ea8 Bug 1590093 - Lazy load console components. r=Honza.
We try to lazy load all the things we know we might
not need directly when opening the console.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 13:23:15 +00:00
Nicolas Chevobbe 2d01b6e914 Bug 1578138 - Retrieve cached messages before setting new messages event listeners. r=Honza.
This patch ensures we get the cached messages
before setting the event listeners so we don't
risk having duplicated messages (coming from both
cache and event).

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

--HG--
extra : moz-landing-system : lando
2019-10-28 13:08:19 +00:00
Mustafa 3edba5e606 Bug 1586880 - fix custom request header hight and scroll bug, r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D49290

--HG--
extra : moz-landing-system : lando
2019-10-28 11:47:23 +00:00
Julian Descottes 6261a77787 Bug 1590050 - Preserve markup view selection in iframes after reload r=rcaliman,gl
Depends on D49940

To support this feature we perform two main changes
- the node actor exposes a getAllSelectors method, and the inspector now stores all selectors rather than just one
- the node actor exposes a waitForFrameLoad method, and the walkerFront findNodeFront helper uses it to make sure frames are loaded before querying a selector

Also added a test

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

--HG--
extra : moz-landing-system : lando
2019-10-28 07:55:14 +00:00
Julian Descottes ffb4c71377 Bug 1590050 - Walker findNodeFront should use selectors relevant to its rootNode r=rcaliman
Depends on D49939

Small fix on the findNodeFront helper. The walker should be able to calculate its depth without relying on consumers to remove selectors from the array passed to findNodeFront.

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

--HG--
extra : moz-landing-system : lando
2019-10-27 15:53:07 +00:00
Julian Descottes 00444e4c1d Bug 1590050 - Move findNodeFront helper to walker front r=gl
Depends on D49938

This helper can be moved on the walker front and will be useful to find the selected node front after a page reload

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

--HG--
extra : moz-landing-system : lando
2019-10-25 10:08:43 +00:00
Nicolas Chevobbe e8a53e664a Bug 1591360 - Remove devtools/client/framework/sidebar.js. r=pbro.
It was only used by scratchpad which is removed
in Bug 1519103.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 12:39:40 +00:00
Nicolas Chevobbe d76b60f122 Bug 1519103 - Remove Scratchpad panel. r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D50583

--HG--
extra : moz-landing-system : lando
2019-10-27 09:05:58 +00:00
Cosmin Sabou a05e2f5d41 Bug 1529824 - Disable browser_aboutdebugging_serviceworker_fetch_flag.js on mac, win debug and linux 64 for frequent failures. r=egao
Differential Revision: https://phabricator.services.mozilla.com/D50748

--HG--
extra : moz-landing-system : lando
2019-10-27 20:39:59 +00:00
Itiel 4e05937e32 Bug 1591167 - Force LTR the CSS variables tooltips r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D50504

--HG--
extra : moz-landing-system : lando
2019-10-27 18:09:35 +00:00
Rob Wu 34c77beb98 Bug 1591102 - Let some SpecialPowers.pushPermissions callers use promises r=jdm
Some callers of SpecialPowers.pushPermissions wrapped the call in a
promise. That is not needed; directly use the returned promise instead.

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

--HG--
extra : moz-landing-system : lando
2019-10-27 15:28:41 +00:00
Brad Werth 67a5b39eb8 Bug 1561227 Part 8: Update expectations for existing tests. r=botond
The change to await snapshotWindow is something that should have been
done in Bug 1573254.

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

--HG--
extra : moz-landing-system : lando
2019-10-26 15:31:11 +00:00
Brad Werth 330bf2631f Bug 1561227 Part 7: Add a test of meta viewport resizing with full zoom. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D44504

--HG--
extra : moz-landing-system : lando
2019-10-25 21:05:50 +00:00
Brad Werth 8f0ce7b7bd Bug 1561227 Part 6: Rename an existing RDM zoom test in anticipation of adding related tests. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D44503

--HG--
rename : devtools/client/responsive/test/browser/browser_toggle_zoom.js => devtools/client/responsive/test/browser/browser_viewport_zoom_toggle.js
extra : moz-landing-system : lando
2019-10-25 21:05:52 +00:00
Brad Werth e36664a792 Bug 1561227 Part 5: Define a helper function for setting RDM zoom and use it in existing tests. r=botond
This helper function awaits the new custom event sent by the RDM pane
frame script when zooming is done, then waits for the reflow to be
complete also. After this is done, resolution and window and content
sizes all have their correct, final values.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 21:05:46 +00:00
Brad Werth 415f4698dc Bug 1561227 Part 4: Make RDM force the UI ZoomChild Actor to cache its zoom level. r=mconley,gl
The ZoomChild actor normally caches its full zoom level only when it is
changed, then emits a FullZoomChange event. That event causes problems
with Responsive Design Mode, which receives the event after other
similar events that carry the full zoom level of the RDM pane content.
The RDM UI pane itself always stays at 1.0 zoom. This change makes the
ZoomChild cache its initial fullZoom level as soon as possible, which
prevents the first RDM zoom change from sending the unwanted event.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 21:05:38 +00:00
Brad Werth 19a7c8c336 Bug 1561227 Part 3: Make RDM UI save and restore resolution when responding to a full zoom change. r=mtigley
This change makes the RDM content frame script listen to the new
PreFullZoomChange event, and treat that as a trigger to save the
existing resolution. The content window will send 2 resize events
as it adjusts to the new RDM pane size set by the front end. After
these events are received, the resolution is restored and a new
event is fired that indicates the work of zooming is complete.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 21:05:40 +00:00
Brian Hackett 642472368d Bug 1580839 - Evaluate debugger expressions after connecting with the target, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D50639

--HG--
extra : moz-landing-system : lando
2019-10-26 11:58:57 +00:00
Brian Hackett e35cbe03a4 Bug 1591446 - Use right context when closing project file search, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D50620

--HG--
extra : moz-landing-system : lando
2019-10-26 11:57:28 +00:00
Brian Grinstead 9cd142917f Bug 1587142 - Remove XBL test in devtools/ r=gl
Differential Revision: https://phabricator.services.mozilla.com/D50655

--HG--
extra : moz-landing-system : lando
2019-10-25 21:53:33 +00:00
Ciure Andrei 706c89437b Backed out 8 changesets (bug 1561227) for causing browser_viewport_resizing_scrollbar.js to permafail CLOSED TREE
Backed out changeset aa00b1b62ea7 (bug 1561227)
Backed out changeset b22440a67078 (bug 1561227)
Backed out changeset 4776cec83ae8 (bug 1561227)
Backed out changeset ac88bbefb95f (bug 1561227)
Backed out changeset aef3cfa2f539 (bug 1561227)
Backed out changeset a3759e1a04e2 (bug 1561227)
Backed out changeset cfcf79794049 (bug 1561227)
Backed out changeset 97be65338edf (bug 1561227)

--HG--
rename : devtools/client/responsive/test/browser/browser_viewport_zoom_toggle.js => devtools/client/responsive/test/browser/browser_toggle_zoom.js
2019-10-26 00:00:48 +03:00
Brad Werth 3218752020 Bug 1561227 Part 8: Update expectations for existing tests. r=botond
The change to await snapshotWindow is something that should have been
done in Bug 1573254.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 19:33:55 +00:00
Brad Werth e77a903256 Bug 1561227 Part 7: Add a test of meta viewport resizing with full zoom. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D44504

--HG--
extra : moz-landing-system : lando
2019-10-24 23:43:00 +00:00
Brad Werth 3e2953244f Bug 1561227 Part 6: Rename an existing RDM zoom test in anticipation of adding related tests. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D44503

--HG--
rename : devtools/client/responsive/test/browser/browser_toggle_zoom.js => devtools/client/responsive/test/browser/browser_viewport_zoom_toggle.js
extra : moz-landing-system : lando
2019-10-24 23:43:02 +00:00
Brad Werth f1099b15a2 Bug 1561227 Part 5: Define a helper function for setting RDM zoom and use it in existing tests. r=botond
This helper function awaits the new custom event sent by the RDM pane
frame script when zooming is done, then waits for the reflow to be
complete also. After this is done, resolution and window and content
sizes all have their correct, final values.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 23:42:58 +00:00
Brad Werth 0bfdbb753a Bug 1561227 Part 4: Make RDM force the UI ZoomChild Actor to cache its zoom level. r=mconley,gl
The ZoomChild actor normally caches its full zoom level only when it is
changed, then emits a FullZoomChange event. That event causes problems
with Responsive Design Mode, which receives the event after other
similar events that carry the full zoom level of the RDM pane content.
The RDM UI pane itself always stays at 1.0 zoom. This change makes the
ZoomChild cache its initial fullZoom level as soon as possible, which
prevents the first RDM zoom change from sending the unwanted event.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 23:42:56 +00:00
Brad Werth ee1bf29b7a Bug 1561227 Part 3: Make RDM UI save and restore resolution when responding to a full zoom change. r=mtigley
This change makes the RDM content frame script listen to the new
PreFullZoomChange event, and treat that as a trigger to save the
existing resolution. The content window will send 2 resize events
as it adjusts to the new RDM pane size set by the front end. After
these events are received, the resolution is restored and a new
event is fired that indicates the work of zooming is complete.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 23:42:48 +00:00
Gabriel Luong 48625f2f06 Bug 1550804 - Add color scheme simulation to the inspector. r=pbro
This adds a color scheme simulation toggle button in the rules view,
which will toggle between 4 different states: default, dark, light,
and no-preference.

This feature is currently hidden away under a preference:
devtools.inspector.color-scheme-simulation.enabled

The final UI/UX still needs to be figured out, however, this initial step is
to land the ability to prototype this feature.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 19:28:02 +00:00
Ciure Andrei c0740c9722 Backed out changeset b5095678aa15 (bug 1591446) for causing debugger-tests node to perma fail CLOSED TREE 2019-10-25 21:30:18 +03:00
Brian Hackett 081b4af474 Bug 1591446 - Use right context when closing project file search, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D50620

--HG--
extra : moz-landing-system : lando
2019-10-25 17:33:28 +00:00
Andreea Pavel 02bbc55a55 Backed out changeset e69e9a6aa261 (bug 1491811) for failing dt at e.g. browser_inspector_textbox-menu.js on a CLOSED TREE 2019-10-25 20:18:11 +03:00
Michael Ratcliffe cc663bcc1d Bug 1491811 - Rules: replace custom checkbox with -moz-appearance:checkbox r=fvsch
***
Bug 1491811 - Get screenshots of Rule View with native checkboxes

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

--HG--
extra : moz-landing-system : lando
2019-10-24 11:36:30 +00:00
Nicolas Chevobbe 9dc42c00ce Bug 1590633 - Remove Reps launchpad. r=Honza.
This means we can also cleanup the package.json,
and remove file that were only needed for the
launchpad.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 12:08:17 +00:00
Nicolas Chevobbe 66887be8da Bug 1589346 - Fix navigation to debugger from console on prettified sources. r=loganfsmyth.
This revert the changes made in Bug 1587839, except the added test.
The safer fix to be uplifted is to only fix the original issue
in the SmartTrace component, where we remove any sourceId we might
have when creating the new mapped frame.

We also modify the browser_dbg-pretty-print-console test to ensure
clicking on a prettified location in the console does open the
debugger with the expected location.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 12:16:52 +00:00
Daniel Varga 2d8c1c6548 Backed out changeset fac6219649be (bug 1587839) on request by nchevobbe DONTBUILD
--HG--
extra : rebase_source : 7704b8ca8bdaf66bc68d488fd81a824f5bfc6678
2019-10-25 14:56:44 +03:00
Nicolas Chevobbe 69c6356c7e Bug 1591061 - Enable browser_toolbox_console_new_process on debug builds. r=bhackett.
The test takes a long time to run, so we request a longer
timeout.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 11:48:59 +00:00
Nicolas Chevobbe 940c844ce7 Bug 1589376 - Remove compact mode related proptypes. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D50566

--HG--
extra : moz-landing-system : lando
2019-10-25 10:34:54 +00:00
Mustafa edf7049113 Bug 1588444 - Show formatted data over collapsed raw data. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D50459

--HG--
extra : moz-landing-system : lando
2019-10-25 11:37:02 +00:00
Mustafa 304c0696ac Bug 1587750 - fix isJSON healper function. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D49294

--HG--
extra : moz-landing-system : lando
2019-10-25 10:20:26 +00:00
Coroiu Cristina 9068a14016 Bug 1580323 -Disable browser_dbg-quick-open.js on mac and linux debug for frequent failures. r=egao
Differential Revision: https://phabricator.services.mozilla.com/D50569

--HG--
extra : moz-landing-system : lando
2019-10-25 09:13:46 +00:00
Nicolas Chevobbe 28e37b5b09 Bug 1587839 - Fix navigation to debugger from console on prettified sources. r=loganfsmyth.
This revert the changes made in Bug 1587839, except the added test.
The safer fix to be uplifted is to only fix the original issue
in the SmartTrace component, where we remove any sourceId we might
have when creating the new mapped frame.

We also modify the browser_dbg-pretty-print-console test to ensure
clicking on a prettified location in the console does open the
debugger with the expected location.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 06:21:18 +00:00
Csoregi Natalia a377414b6d Backed out 8 changesets (bug 1561227) for failures on browser_viewport_resizing_scrollbar.js. CLOSED TREE
Backed out changeset 8117cafb3a20 (bug 1561227)
Backed out changeset 635534927ffc (bug 1561227)
Backed out changeset 693b0dd88f2b (bug 1561227)
Backed out changeset 257bc09f49af (bug 1561227)
Backed out changeset 1b63d555c6c1 (bug 1561227)
Backed out changeset 677da957ddcb (bug 1561227)
Backed out changeset f8b8e593316f (bug 1561227)
Backed out changeset 849e1cf51a8f (bug 1561227)

--HG--
rename : devtools/client/responsive/test/browser/browser_viewport_zoom_toggle.js => devtools/client/responsive/test/browser/browser_toggle_zoom.js
2019-10-25 02:35:11 +03:00
Gurzau Raul a11233a256 Backed out changeset 5eb5f44dcf96 (bug 1550804) for failures at browser_parsable_css.js on a CLOSED TREE. 2019-10-25 02:03:36 +03:00
Gabriel Luong 7bd0dc6499 Bug 1587789 - Remove isXBLAnonymous functions defined and used in the inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D50517

--HG--
extra : moz-landing-system : lando
2019-10-24 21:05:44 +00:00
alexdominguezg 78e89d3ba7 Bug 1565978 - Stop changing the currently selected row in Network with left and right keys. r=fvsch
Unbind the ArrowLeft and ArrowRight keys in the request list and messages list, keeping only ArrowUp and ArrowDown, to be consistent with tree navigation and more predictable in RTL UI layout.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 20:56:50 +00:00
Gabriel Luong f950443d4d Bug 1550804 - Add color scheme simulation to the inspector. r=pbro
This adds a color scheme simulation toggle button in the rules view,
which will toggle between 4 different states: default, dark, light,
and no-preference.

This feature is currently hidden away under a preference:
devtools.inspector.color-scheme-simulation.enabled

The final UI/UX still needs to be figured out, however, this initial step is
to land the ability to prototype this feature.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 20:39:00 +00:00
Brad Werth 180df98ec0 Bug 1561227 Part 8: Update expectations for existing tests. r=botond
The change to await snapshotWindow is something that should have been
done in Bug 1573254.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 16:50:53 +00:00
Brad Werth 327fb0df8f Bug 1561227 Part 7: Add a test of meta viewport resizing with full zoom. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D44504

--HG--
extra : moz-landing-system : lando
2019-10-24 16:50:31 +00:00
Brad Werth fff96c2e72 Bug 1561227 Part 6: Rename an existing RDM zoom test in anticipation of adding related tests. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D44503

--HG--
rename : devtools/client/responsive/test/browser/browser_toggle_zoom.js => devtools/client/responsive/test/browser/browser_viewport_zoom_toggle.js
extra : moz-landing-system : lando
2019-10-24 16:50:09 +00:00
Brad Werth bc08d2af3e Bug 1561227 Part 5: Define a helper function for setting RDM zoom and use it in existing tests. r=botond
This helper function awaits the new custom event sent by the RDM pane
frame script when zooming is done, then waits for the reflow to be
complete also. After this is done, resolution and window and content
sizes all have their correct, final values.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 16:49:46 +00:00
Brad Werth 9d15dc5761 Bug 1561227 Part 4: Make RDM force the UI ZoomChild Actor to cache its zoom level. r=mconley,gl
The ZoomChild actor normally caches its full zoom level only when it is
changed, then emits a FullZoomChange event. That event causes problems
with Responsive Design Mode, which receives the event after other
similar events that carry the full zoom level of the RDM pane content.
The RDM UI pane itself always stays at 1.0 zoom. This change makes the
ZoomChild cache its initial fullZoom level as soon as possible, which
prevents the first RDM zoom change from sending the unwanted event.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 20:35:01 +00:00
Brad Werth 21b357260e Bug 1561227 Part 3: Make RDM UI save and restore resolution when responding to a full zoom change. r=mtigley
This change makes the RDM content frame script listen to the new
PreFullZoomChange event, and treat that as a trigger to save the
existing resolution. The content window will send 2 resize events
as it adjusts to the new RDM pane size set by the front end. After
these events are received, the resolution is restored and a new
event is fired that indicates the work of zooming is complete.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 16:49:01 +00:00
Gurzau Raul 4e686f7962 Backed out changeset f3fee3ded743 (bug 1550804) for many devtools failures e.g. browser_markup_accessibility_focus_blur.js on a CLOSED TREE. 2019-10-24 21:39:31 +03:00
Gabriel Luong 627912f5f2 Bug 1550804 - Add color scheme simulation to the inspector. r=pbro
This adds a color scheme simulation toggle button in the rules view,
which will toggle between 4 different states: default, dark, light,
and no-preference.

This feature is currently hidden away under a preference:
devtools.inspector.color-scheme-simulation.enabled

The final UI/UX still needs to be figured out, however, this initial step is
to land the ability to prototype this feature.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 17:23:18 +00:00
Alexandre Poirot be1b551d62 Bug 1588741 - Descriptors.getTarget may return unattached targets when called in parallel. r=jdescottes
The race isn't trivial to reproduce and the test do not reproduce it.
But this was making target list tests to fail.

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

--HG--
extra : moz-landing-system : lando
2019-10-23 16:33:42 +00:00
Itiel 6721412f26 Bug 1590306 - Force LTR on the shortcut key in the welcome box r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D50083

--HG--
extra : moz-landing-system : lando
2019-10-24 07:41:55 +00:00
Julian Descottes b6846ec07b Bug 1590823 - Fix scrollbars in accessibility panel by using --devtools-toolbar-height instead of --accessibility-toolbar-height r=fvsch
The accessibility panel is calculating the height of some of its containers by doing 100vh - toolbar height.
But the accessibility panel was relying on a local variable --accessibility-toolbar-height which was actually not used to set the height of the toolbar.
So when the toolbar height increased of 1px, all those calculations became wrong.

The --accessibility-toolbar-height is now the same as --theme-toolbar-height so I propose to remove the local variable and only use the devtools one.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 07:03:51 +00:00
Nicolas Chevobbe 494422872e Bug 1585923 - Rename MenuButton doc prop to toolboxDoc. r=jdescottes.
This should make it more obvious what kind of document
the component is expecting.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 05:56:10 +00:00
Gabriel Luong fd32c2b962 Bug 1574506 - Migrate usage of gripNodeToFront to toolbox's new getNodeFrontFromNodeGrip function. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D49990

--HG--
extra : moz-landing-system : lando
2019-10-23 04:38:13 +00:00
Brian Hackett 7fabe60cdf Bug 1444064 Part 3 - Add test that OBT web console listens to new processes, r=nchevobbe.
Depends on D48864

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

--HG--
extra : moz-landing-system : lando
2019-10-23 17:39:02 +00:00
Belén Albeza c4bf55ef42 Bug 1583705: Fix capitalization of heading when no manifest is available r=jdescottes,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D50045

--HG--
extra : moz-landing-system : lando
2019-10-23 11:15:28 +00:00
Brian Hackett 8fd4f4e0e2 Bug 1444064 - Add ToolboxTask object for communicating with the browser toolbox during tests, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D48773

--HG--
extra : moz-landing-system : lando
2019-10-23 14:10:59 +00:00
Greg Tatum 9157afe622 Bug 1588295 - Change popup test to use the js feature rather than stackwalk; r=gerald
This test is relying on a profiler feature that is not available in every
platform. This patch changes it to use the "js" feature, which should be
supported everywhere.

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

--HG--
extra : moz-landing-system : lando
2019-10-23 14:07:47 +00:00
Greg Tatum de7682bba8 Bug 1588192 - Fix the TypeScript require function in the initializers; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D49012

--HG--
extra : moz-landing-system : lando
2019-10-23 13:49:27 +00:00