Commit Graph
529 Commits
Author SHA1 Message Date
Alexandre Poirot bd645c3ccc Bug 1568150 - Destroy the inspector front after the panels. r=gl
All fronts are destroyed when we call TargetMixin.destroy.
All but the inspector. This changeset move the inspector front destruction
from being done in parallel to panels destruction to do it after.
This highlight races in tests that are not waiting correctly for the full
loading of the grid sidebar.

Differential Revision: https://phabricator.services.mozilla.com/D39408
2019-07-29 17:16:11 +00:00
Csoregi Natalia 28975dc584 Backed out 2 changesets (bug 1568150) for failures on browser_ext_devtools_panel.js. CLOSED TREE
Backed out changeset 47f2bc60381a (bug 1568150)
Backed out changeset beb290a8b2a3 (bug 1568150)
2019-07-29 17:08:08 +03:00
Alexandre Poirot 030aa32f69 Bug 1568150 - Destroy the inspector front after the panels. r=gl
All fronts are destroyed when we call TargetMixin.destroy.
All but the inspector. This changeset move the inspector front destruction
from being done in parallel to panels destruction to do it after.
This highlight races in tests that are not waiting correctly for the full
loading of the grid sidebar.

Differential Revision: https://phabricator.services.mozilla.com/D39408
2019-07-29 09:20:31 +00:00
Jason Laster ef0e87e61b Bug 1565695 - Mousing out of a a preview should close the popup in the Browser toolbox. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37937
2019-07-25 17:47:27 +00:00
Gabriel Luong 12587ec458 Bug 1567276 - Refactor inspector to inspectorFront. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D38554
2019-07-18 15:33:55 -04:00
Brian Hackett b7561df60c Bug 1405402 - Re-expand scope entries after resuming and re-pausing in a frame, r=jlast. 2019-07-21 14:50:09 -10:00
Gurzau Raul bdae24fa42 Backed out 3 changesets (bug 1556847, bug 1556858, bug 1405402) for eslint failures at /actors/replay/debugger.js on a CLOSED TREE.
Backed out changeset 03df8624c36c (bug 1405402)
Backed out changeset 099de68d4716 (bug 1556858)
Backed out changeset 1bf0b6a8dd13 (bug 1556847)
2019-07-22 01:13:40 +03:00
Brian Hackett 4c48d27510 Bug 1405402 - Re-expand scope entries after resuming and re-pausing in a frame, r=jlast. 2019-07-17 10:10:17 -10:00
Alex Rosenfeld 20d6da13dc Bug 1565011 - Un-blackbox a file by adding a gutter breakpoint. r=davidwalsh
If user clicks gutter to add a breakpoint in tab of a blackboxed file, the file should be un-blackboxed.

Differential Revision: https://phabricator.services.mozilla.com/D38198
2019-07-17 16:38:24 +00:00
Alexandre Poirot 0ce86f8b2c Bug 1566457 - Remove unused provider logic from Loader.jsm. r=jdescottes
We used to have another provider which would load module via file:// URI,
directly from the disk. But the progress on artifact builds and ./mach build faster
made this obsolete and has been removed a long time ago.
We still have a lot of abstraction to support this non-existent feature.

Differential Revision: https://phabricator.services.mozilla.com/D38284
2019-07-18 12:25:05 +00:00
Julian Descottes 72825b13ea Bug 1567147 - Simplify debugger mochitest browser.ini r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D38475
2019-07-18 15:00:34 +00:00
Jason Laster 94e61b4d90 Bug 1565485 - Bug 1544329 - Fix debugger schema validation. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D37923
2019-07-15 15:59:07 +00:00
Daniel Varga a99f515022 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-07-12 13:03:23 +03:00
Dorel Luca c6dd84521b Backed out changeset 26592a2a32aa (bug 1561092) reverting disabling because of bug 1559760 and bug 1559761 2019-07-12 12:16:06 +03:00
Brian Hackett 5c17ee85f1 Bug 1529163 - Wait for all threads in debugger client, r=jlast. 2019-07-11 17:47:22 +00:00
Brian Hackett e0b8103387 Bug 1448166 Part 3 - Merge function body and function lexical scopes in scopes pane, r=jlast. 2019-07-09 21:19:49 +00:00
yulia 7eba825d59 Bug 1559819 - rename threadClient to threadFront; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32848
2019-07-11 09:45:32 +00:00
Andreea Pavel 830e772481 Bug 1561092 - disabled browser_dbg-wasm-sourcemaps.js on win and linux debug r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D37523
2019-07-10 09:36:57 +00:00
Andreea Pavel 92df7a4d8a Bug 1559547 - disabled browser_dbg-worker-scopes.js on linux asan r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D36232
2019-06-27 19:03:46 +00:00
Yury Delendik 1468c27585 Bug 1560631 - Enable browser_dbg-wasm-sourcemaps.js test r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35574
2019-06-24 18:44:22 +00:00
Logan Smyth 6b252b60b2 Bug 1549999 - Use notification infrastructure to implement DOM event breakpoints. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D31002
2019-06-19 22:27:57 +00:00
Brian Hackett b874b7762e Bug 1124122 - Suppress postMessage events on a window's document when event handling is suppressed, r=smaug. 2019-06-11 12:53:00 -10:00
Andreea Pavel aa2b3fccd0 Merge mozilla-inbound to mozilla-central. a=merge 2019-06-15 12:54:47 +03:00
yulia b24dd8dc96 Bug 1494796 - fix verify test r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D34981
2019-06-14 20:34:04 +00:00
yulia 3068e24c23 Bug 1494796 - update setBreakpoint action on the debugger to be aware of server response; r=jdescottes,jlast
This was a difficult situation. We are not waiting for a server response when setting or
removing breakpoints. The result is that the server has not completed those actions by the time the
test closed, leaving setBreakpoint or removeBreakpoint requests hanging, causing a number of tests
to fail. In order to get around this, I made the panel action "SET_BREAKPOINT" and
"REMOVE_BREAKPOINT" aware of the server response. This involved rewriting the helper methods
`clientSetBreakpoint` and `clientRemoveBreakpoint` so that they no longer relied on the dispatch.

It was not possible to use the dispatches to wait, as they had no event exposed to the tests,
especially in cases when we triggered these requests via button presses.

Differential Revision: https://phabricator.services.mozilla.com/D32710
2019-06-14 04:24:09 +00:00
Narcis Beleuzu c896be1b25 Backed out 13 changesets (bug 1494796) for dt failures on browser_dbg-navigation.js . CLOSED TREE
Backed out changeset 5db908b26d50 (bug 1494796)
Backed out changeset c48f00f0df72 (bug 1494796)
Backed out changeset 591453b88e8b (bug 1494796)
Backed out changeset a14e820311bc (bug 1494796)
Backed out changeset 0e214d450b35 (bug 1494796)
Backed out changeset 1a4ab8b35a85 (bug 1494796)
Backed out changeset fe1559f5f1d4 (bug 1494796)
Backed out changeset 35d967de4223 (bug 1494796)
Backed out changeset 1d21a55cae15 (bug 1494796)
Backed out changeset 33eec873a43e (bug 1494796)
Backed out changeset 25e69c21dc2e (bug 1494796)
Backed out changeset b900d41c8ae8 (bug 1494796)
Backed out changeset c2a034e34fa6 (bug 1494796)
2019-06-14 07:20:42 +03:00
yulia 390012ccc7 Bug 1494796 - update setBreakpoint action on the debugger to be aware of server response; r=jdescottes,jlast
This was a difficult situation. We are not waiting for a server response when setting or
removing breakpoints. The result is that the server has not completed those actions by the time the
test closed, leaving setBreakpoint or removeBreakpoint requests hanging, causing a number of tests
to fail. In order to get around this, I made the panel action "SET_BREAKPOINT" and
"REMOVE_BREAKPOINT" aware of the server response. This involved rewriting the helper methods
`clientSetBreakpoint` and `clientRemoveBreakpoint` so that they no longer relied on the dispatch.

It was not possible to use the dispatches to wait, as they had no event exposed to the tests,
especially in cases when we triggered these requests via button presses.

Differential Revision: https://phabricator.services.mozilla.com/D32710
2019-06-14 00:19:20 +00:00
yulia fe3577f422 Bug 1494796 - fix timing issues in debugger tests due to threadClient refactor; r=jlast
There were a few miscellaneous situations in which the test would fail due to a hanging
request. These tests passed in the past because the old way of using the threadActor did not
identify which requests had been responded to.

Differential Revision: https://phabricator.services.mozilla.com/D32711
2019-06-12 23:34:00 +00:00
Jason Laster 79a0d883e1 Bug 1531493 - fix intermittent browser_dbg-worker-scopes.js. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34716
2019-06-12 21:37:31 +00:00
chujun 0f000fd48b Bug 1536854 - Log errors from logpoint as actual errors in the console r=davidwalsh,nchevobbe
If logpoint throws, set `level` to "error".
Add tests to ensure the correct level is set.

Demo function: https://luxuriant-system.glitch.me/
Add some logpoints. The first two statements are invalid. The third one is valid.
{F1311386}

In console:
{F1311387}

Differential Revision: https://phabricator.services.mozilla.com/D31157
2019-06-12 12:10:35 +00:00
Brian Hackett 1882dad15f Bug 1558504 - Waive xrays on contents of Set and Map objects when previewing, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D34743
2019-06-12 06:11:48 -10:00
Andreea Pavel d6cb63dd2f Bug 1531493 - disabled browser_dbg-worker-scopes.js on all platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D34338
2019-06-10 14:11:44 +00:00
shindli 4a1f929ff9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-06 13:11:16 +03:00
Brian Hackett ac7de77440 Bug 1545400 - Increment recursion depth when debugger has saved a thread's microtasks, r=arai,smaug.
Differential Revision: https://phabricator.services.mozilla.com/D32889
2019-05-28 10:28:03 -10:00
chujun c4c0472ef4 Bug 1488662 Change go to line shortcut to Ctrl+G r=davidwalsh
The current “go to line” keyboard shortcut `CmdOrCtrl+;` conflicts with the “step in” shortcut. The "go to line" shortcut is replaced with the shortcut for Chrome debugger and Sublime Text: `Ctrl+G`. Upper or lower cases don’t matter.

1. Current behavior:
1a) With no file open in editor; or with a file open in editor, but not pausing at a breakpoint:
`Cmd+;` or `Cmd+Shift+;` opens the “go to line” box.

1b) Pause at a breakpoint:
`Cmd+;` runs `step in`, and also opens the “go to line” box;
`Cmd+Shift+;` runs `step over`, and also opens the “go to line” box.

2) Code changes:
2a) Create gotoLineModal.key3.
2b) Update localization note.
2b) Update snapshot test.

3) After the code changes, on macOS:
3a) With no file open in editor:
`Ctrl+G` opens the “go to line” box.

3b) With a file open, but not pausing at breakpoints:
`Ctrl+G`opens the “go to line” box; hitting `Ctrl+G` again or `escape` closes the box.

3c) Pause at a breakpoint:
`Cmd+;` or `Cmd+Shift+;` doesn’t open the “go to line” box.
`Ctrl+G` opens the “go to line” box.

Differential Revision: https://phabricator.services.mozilla.com/D26256
2019-06-04 01:25:36 +00:00
David Walsh 7171c6c73d Bug 1552061 - Keep scrolling location for individual documents r=jlast
Ensures scroll position stays the same between tab switches while paused and not paused.

Differential Revision: https://phabricator.services.mozilla.com/D33312
2019-06-05 18:33:25 +00:00
Brian Hackett 94c9242df3 Bug 1483969 - Fix web replay test problems. 2019-06-03 15:38:27 -10:00
yulia 3fa3fe5250 Bug 1042642 - Use EventEmitter instead of EventSource for the threadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29373
2019-05-30 08:37:55 +00:00
David Walsh 6d90d251c4 Bug 1551945 - Ensure search inputs receive focus r=jlast
The previous patch for focus CSS was to aggressive -- this reverts that change and better focuses the feature

Differential Revision: https://phabricator.services.mozilla.com/D31327
2019-05-28 14:03:56 +00:00
Jason Laster f90e6dc11a Bug 1551871 - Fix Intermittent browser_dbg-sourcemapped-preview.js. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D32498
2019-05-24 17:57:04 +00:00
Andreea Pavel 74b687f499 Bug 1551871 - disabled browser_dbg-sourcemapped-preview.js on linux and macosx1010 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32377
2019-05-24 01:12:00 +00:00
Jason Laster 72afdfc0e3 Bug 1552609 - Adding a logpoint fails and breaks locations. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D31870
2019-05-21 20:46:04 +00:00
Jason Laster 3a175d7c09 Bug 1552290 - Preview fails after selecting another location. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D31516
2019-05-21 18:16:39 +00:00
Brian Hackett b5f25eb6ee Bug 1432885 - Step in to the first valid step target, r=loganfsmyth. 2019-05-14 07:11:04 -10:00
Julian Descottes f9c93252a0 Bug 1552191 - Fix webreplay tests using webconsole context menu r=jlast
3 webreplay tests regressed while the webreplay test suite was no longer running on try.

Differential Revision: https://phabricator.services.mozilla.com/D31482
2019-05-17 17:12:52 +00:00
Victor Porof 6681d2b346 Bug 1551218 - Part 1: Enable running top-level eslint for the devtools debugger, r=Standard8,jlast
Differential Revision: https://phabricator.services.mozilla.com/D30926
2019-05-17 15:50:29 +00:00
Jason Laster bbf8545a97 Bug 1552171 - Refactor preview redux. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D31454
2019-05-17 14:54:17 +00:00
Mihai Alexandru Michis 88370dfea1 Backed out changeset 8952fe75cb7a (bug 1551218) for causing linting failures. CLOSED TREE 2019-05-17 16:37:40 +03:00
Victor Porof b2f71815c0 Bug 1551218 - Part 1: Enable running top-level eslint for the devtools debugger, r=Standard8,jlast
Differential Revision: https://phabricator.services.mozilla.com/D30926
2019-05-17 12:47:41 +00:00
Jason Laster 167b0d54bc Bug 1539468 - Preview can initially take awhile to populate. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D30952
2019-05-15 14:46:09 +00:00