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

14992 Коммитов

Автор SHA1 Сообщение Дата
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
Nicolas Chevobbe 9b4c9080e0 Bug 1590707 - Don't display outline on CodeMirror scrollbars. r=fvsch.
Differential Revision: https://phabricator.services.mozilla.com/D50201

--HG--
extra : moz-landing-system : lando
2019-10-23 12:41:12 +00:00
Itiel 844a131a81 Bug 1590311 - Fix 'Copy All Changes' button styling for RTL. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D50115

--HG--
extra : moz-landing-system : lando
2019-10-23 12:17:45 +00:00
Daisuke Akatsuka 22b7417018 Bug 1588964: Update jest test for the unsupported browsers. r=ladybenko
Depends on D49519

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

--HG--
extra : moz-landing-system : lando
2019-10-23 08:59:29 +00:00
Daisuke Akatsuka 3d16270968 Bug 1588964: Add tests for the unsupported browsers. r=rcaliman,ladybenko
Depends on D49518

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

--HG--
extra : moz-landing-system : lando
2019-10-23 09:08:17 +00:00
Daisuke Akatsuka a5519b8c66 Bug 1588964: Show the browsers support status. r=rcaliman,ladybenko
Depends on D49378

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

--HG--
extra : moz-landing-system : lando
2019-10-23 09:11:46 +00:00
Daisuke Akatsuka db043e87f2 Bug 1589858: Add a test whether the rule view is available or not when plural styles which are defined in media query block are set for visited link. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D50156

--HG--
extra : moz-landing-system : lando
2019-10-23 11:20:28 +00:00
Julian Descottes ab49d009e4 Bug 1590630 - Fail DevTools metrics test explicitly when DEBUG_JS_MODULES is enabled r=daisuke
DEBUG_JS_MODULES will make the BrowserLoader load different versions of some React files.
This confuses our metrics test that checks against duplicated modules and relies on a strict whitelist.
We fail the test explicitly since this performance metrics test should really only be run without DEBUG modules.

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

--HG--
extra : moz-landing-system : lando
2019-10-23 09:12:28 +00:00
Daisuke Akatsuka d0f08fcdda Bug 1590003: Lazily load the compatibility lib and the dataset. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D50159

--HG--
extra : moz-landing-system : lando
2019-10-23 07:30:15 +00:00
jaril efb5fa8565 Bug 1581918 - Add an experimental badge to Replay in the settings panel
Differential Revision: https://phabricator.services.mozilla.com/D50007

--HG--
extra : moz-landing-system : lando
2019-10-23 00:33:24 +00:00
Jason Laster ff017ca271 Bug 1590241 - Enable WebReplay appears in DevEdition. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D50145

--HG--
extra : moz-landing-system : lando
2019-10-23 00:51:00 +00:00
Dorel Luca 03762f81ac Backed out changeset bddcd12198e7 (bug 1574506) for Devtools failures in devtools/client/inspector/extensions/test/browser_inspector_extension_sidebar.js. CLOSED TREE 2019-10-23 00:31:21 +03:00
Gabriel Luong 1bf9113bfe Bug 1590187 - Remove actorhasMethod check for getIsPrintSimulationEnabled. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D49971

--HG--
extra : moz-landing-system : lando
2019-10-21 21:34:27 +00:00