Commit Graph

479 Commits

Author SHA1 Message Date
David Walsh
2bbe6fef7a Bug 1576679 - Turn on inline preview by default r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D43490

--HG--
extra : moz-landing-system : lando
2019-08-27 21:48:49 +00:00
David Walsh
b08f3b6b26 Bug 1576219 - Enable DOM Mutation Breakpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D43273

--HG--
extra : moz-landing-system : lando
2019-08-26 20:19:39 +00:00
Jason Laster
2fbbcd3de9 Bug 1574502 - Sidebar panels should be collapsed by default. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D42317

--HG--
extra : moz-landing-system : lando
2019-08-26 20:11:52 +00:00
Nicholas Nethercote
66a26ccca9 Bug 1572332 - Move non-debugger devtools prefs into all.js and firefox.js. r=jdescottes
This makes prefs definition simpler, more consistent, and less error-prone.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 01:44:59 +00:00
Jason Laster
3284eefc86 Bug 1574040 - Generalize the Debugger worker redux management (part 2). r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D42584

--HG--
rename : devtools/client/debugger/src/actions/debuggee.js => devtools/client/debugger/src/actions/threads.js
rename : devtools/client/debugger/src/components/SecondaryPanes/Worker.js => devtools/client/debugger/src/components/SecondaryPanes/Thread.js
rename : devtools/client/debugger/src/components/SecondaryPanes/Workers.css => devtools/client/debugger/src/components/SecondaryPanes/Threads.css
rename : devtools/client/debugger/src/reducers/debuggee.js => devtools/client/debugger/src/reducers/threads.js
extra : moz-landing-system : lando
2019-08-20 20:20:46 +00:00
Julian Descottes
9e623bb5f5 Bug 1539979 - Use a frame with type=content for DevTools frames r=ochameau
This introduces a preference to load the DevTools toolbox
in a frame with type=content instead of type=chrome.
Having a preference will allow to keep the previous behavior in a
few intermittent tests, while we collect feedback on Nightly.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 05:55:54 +00:00
tanhengyeow
2924fb2d9f Bug 1561631 - Limit number of displayed frames in WebSocket side panel. r=Harald,Honza
Truncate displayed frames if they are over the specified limit. Offers a way to disable this behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 16:33:23 +00:00
lloan
da85787e96 Bug 1573493 - Search panel is missing two prefs. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D41774

--HG--
extra : moz-landing-system : lando
2019-08-13 15:24:53 +00:00
David Walsh
60c1fd55e6 Bug 1569216 - Implement DOM Mutation Breakpoints UI for the debugger r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D39517

--HG--
extra : moz-landing-system : lando
2019-08-13 02:35:50 +00:00
Julian Descottes
9cc8a6afdc Bug 1569410 - Do not apply disable_autohide to DevTools HTML tooltips r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D41246

--HG--
extra : moz-landing-system : lando
2019-08-09 08:36:28 +00:00
Dhyey Thakore
ee6853c808 Bug 1547385 - Implement initial Inline Preview for debugger r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34175

--HG--
extra : moz-landing-system : lando
2019-08-07 17:12:03 +00:00
lloan
10edd3b03b Bug 1559347 - Implement generic search across all resources. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D36323

--HG--
extra : moz-landing-system : lando
2019-08-07 15:58:21 +00:00
Andreea Pavel
7003377283 Backed out changeset 3beffacf5f4a (bug 1547385) devtools failures on a CLOSED TREE 2019-08-07 00:07:56 +03:00
Dhyey Thakore
d8099b16fe Bug 1547385 - Implement initial Inline Preview for debugger r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34175

--HG--
extra : moz-landing-system : lando
2019-08-06 19:47:38 +00:00
tanhengyeow
9983b8eaa6 Bug 1561553 - WebSocket frame list should hide some columns by default. r=nchevobbe
Show "Data" and "Time" column by default. Allows users to show/hide columns through the header context menu. Also ensures that least one column is shown.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 07:31:10 +00:00
Nicolas Chevobbe
1aeeaf2559 Bug 1465149 - Remove old jsterm code. r=jdescottes.
Since we modified the Editor to be accessible, we got
the green light to remove the old JsTerm code.
This means we can remove the preference for the codeMirror
input, and clean the WebConsole react app a bit.
This also mean we can avoid running a lot of our tests
twice.
Finally, some test helpers had to take argument with
specific shape to work against old jsterm (e.g. checkInputCompletionValue),
that we can now remove to make tests easier to read.

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

--HG--
extra : moz-landing-system : lando
2019-08-04 09:38:25 +00:00
Jason Laster
e60778b38f Bug 1569811 - Implement async step over in the server. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D39967

--HG--
extra : moz-landing-system : lando
2019-08-02 20:36:19 +00:00
Nicolas Chevobbe
f228acde3b Bug 1569643 - Fix browser toolbox fission pref. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D39998

--HG--
extra : moz-landing-system : lando
2019-08-01 14:03:30 +00:00
Nicolas Chevobbe
e56950f59d Bug 1567832 - Create a preference for Fission Browser Console. r=yulia.
Differential Revision: https://phabricator.services.mozilla.com/D39646

--HG--
extra : moz-landing-system : lando
2019-07-29 08:43:25 +00:00
Jason Laster
40b23163b1 Revert "Backed out changeset 63ef8fdfff70 (Bug 1354679) for xpcshell failures at test_xpcshell_debugging.js."
This reverts commit e2023eef255628a3b10040b4b6b35c482efd152b.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 18:01:04 +00:00
tanhengyeow
8f2fe89432 Bug 1555631 - WebSocket frame payload preview. r=Honza,nchevobbe
Support WebSocket frame payload preview.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 13:25:30 +00:00
Brindusan Cristian
dc7d08d54f Backed out changeset 63ef8fdfff70 (bug 1354679) for xpcshell failures at test_xpcshell_debugging.js. 2019-07-19 03:39:04 +03:00
Jason Laster
69066c0a69 Bug 1354679 - re-apply pause overlay. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D38572

--HG--
extra : moz-landing-system : lando
2019-07-18 22:14:49 +00:00
tanhengyeow
60458cbfd4 Bug 1564105 - Enable WS Monitor in Nightly. r=Honza,jdescottes
Enable WS Monitor in Nightly

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

--HG--
extra : moz-landing-system : lando
2019-07-18 13:49:59 +00:00
Nicolas Chevobbe
73adf5f4f8 Bug 1554877 - Make JsTerm editor resizable. r=Honza.
We add a GridElementWidthResizer to handle the editor width.
The width is then persisted in a pref.
A test is added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 05:51:44 +00:00
Csoregi Natalia
baf6ea8af4 Backed out changeset b1a964205023 (bug 1564105) for devtools failures on /browser_toolbox_tool_remote_reopen.js. CLOSED TREE 2019-07-17 04:40:53 +03:00
tanhengyeow
02e5c9683c Bug 1564105 - Enable WS Monitor in Nightly. r=Honza
Enable WS Monitor in Nightly

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

--HG--
extra : moz-landing-system : lando
2019-07-16 19:48:56 +00:00
Julian Descottes
f1fcf6094f Bug 1539461 - Remove the aboutdebugging.new-enabled preference r=remote-debugging-reviewers,daisuke
Depends on D37860

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

--HG--
extra : moz-landing-system : lando
2019-07-16 16:24:14 +00:00
Julian Descottes
eb34d94bb2 Bug 1539451 - Disable WebIDE and ConnectPage by default r=remote-debugging-reviewers,daisuke
Depends on D37859

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

--HG--
extra : moz-landing-system : lando
2019-07-16 16:23:46 +00:00
Jason Laster
c0146c7fdf Bug 1565485 - Bug 1544329 - Fix debugger schema validation. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D37923

--HG--
extra : moz-landing-system : lando
2019-07-15 15:59:07 +00:00
Coroiu Cristina
8b6a45f83b Backed out changeset 6363111ee8ce (bug 1354679) for causing bug 1565833 2019-07-14 21:15:31 +03:00
Ciure Andrei
6481c7cc39 Backed out changeset fa44f47160b2 (bug 1354679)for causing high frequency browser_aboutdebugging_devtoolstoolbox_shortcuts.js and browser_aboutdebugging_devtoolstoolbox_reload.js failures CLOSED TREE 2019-07-12 23:42:16 +03:00
Jason Laster
6b6ac62e01 Bug 1354679 - tweak pause overlay. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37496

--HG--
extra : moz-landing-system : lando
2019-07-11 16:29:10 +00:00
Jason Laster
6c4ef459cd Bug 1560942 - Fix perf regression from Event listener breakpoints. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D36826

--HG--
extra : moz-landing-system : lando
2019-07-10 00:17:20 +00:00
Jason Laster
5970b1a8fe Bug 1354679 - Automatically display the PausedDebuggerOverlay when the debugger is paused. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D35162

--HG--
extra : moz-landing-system : lando
2019-07-09 22:01:34 +00:00
Javier Olaechea
ad8d779e56 Bug 1558355 - Remove devtools.netmonitor.features.resizeColumns pref, r=Honza
Remove devtools.netmonitor.features.resizeColumns pref and any reference to it.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 08:33:12 +00:00
Nicolas Chevobbe
ea96bb70c8 Bug 1562839 - Put editor mode behind a pref. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D36582

--HG--
extra : moz-landing-system : lando
2019-07-03 11:14:22 +00:00
Gabriel Luong
1aa241f2d1 Bug 1550030 - Part 1: Implement the DOM mutation breakpoint context menu items in the markup view. r=loganfsmyth,jdescottes
This implements the context menu items for the DOM mutation breakpoint.
In addition, there were some server changes to:
- Update the mutationBreakpoints form for the NodeActor
- Expose the mutationBreakpoints form
- Moved the setMutationBreakpoints method from the Node spec to Walker spec
since the Node spec only consisted of getter methods. It made more sense
that the setter went into the Walker spec to be more consistent with how
the Walker and Node spec have been arranged.

Unit tests will be followed up in Part 2 immediately.

Differential Revision: https://phabricator.services.mozilla.com/D36074
2019-06-26 15:16:22 -04:00
tanhengyeow
44c6145f6e Bug 1559398 - Implement table and preview sections in WebSocket side panel. r=Honza
Implement table and preview sections in WebSocket side panel.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:24:59 +00:00
Nicolas Chevobbe
06b2ed9350 Bug 1559329 - Set "group similar messages" to true by default. r=Honza.
This was making browser_webconsole_scroll.js fail.
After some investigation, I found that the `isInWarningGroup`
prop, a function defined in `mapStateToProp` was causing a
re-rendering (because we were creating a new function each
time), impacting the shouldScrollToBottom behaviour.

To fix this, we no longer create a `isInWarningGroup` prop,
but directly use the `isMessageInWarningGroup` selector, which
was modified to take an array of visible messages instead of
the whole state.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 11:42:15 +00:00
Julian Descottes
9d682b17d1 Bug 1553042 - Enable new about:debugging on all channels r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D35792

--HG--
extra : moz-landing-system : lando
2019-06-25 18:36:02 +00:00
David Walsh
34f1734412 Bug 1560571 - Enable event listener breakpoints r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D35554

--HG--
extra : moz-landing-system : lando
2019-06-21 21:41:56 +00:00
Nicolas Chevobbe
31d2b0b04a Bug 1544864 - Enable Show Content Messages in browser console. r=bgrins.
This patch removes the preference we were using to
display the checkbox in the Browser Console; it's now
always displayed there.

We flip the pref to show content messages ini tests that need them.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 08:07:17 +00:00
Dorel Luca
b4311cbef0 Backed out changeset 6fb248823c0d (bug 1544864) for DevTools failures in devtools/client/webconsole/test/mochitest/browser_console_clear_cache.js. CLOSED TREE 2019-06-14 20:57:29 +03:00
Nicolas Chevobbe
aaf29517bf Bug 1544864 - Enable Show Content Messages in browser console. r=bgrins.
This patch removes the preference we were using to
display the checkbox in the Browser Console; it's now
always displayed there.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 13:40:32 +00:00
tanhengyeow
0d8f2eb67b Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza,jdescottes
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:27:08 +00:00
Oana Pop Rus
f872d9fd84 Backed out changeset de1dc8a5ce54 (bug 1552458) for xpcshell failures on service-worker-registration on a CLOSED TREE 2019-06-11 12:10:59 +03:00
tanhengyeow
5b709c20cd Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 08:16:31 +00:00
lloan
5e373b947c Bug 1341155 - Show full path in File column in developer tools. r=Honza
New column, defaulted to hidden, to show full URL for resource in netMonitor panel.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 12:24:57 +00:00
Micah Tigley
b15ec7f710 Bug 1357774 - Part 2: Add the ability to update orientation state of a simulated device in RDM r=gl
This patch gives the RDM UI the ability to update the screen orientation based on the orientation of the simulated device screen. It fixes the following issues:

  - Initializing the orientation state of the selected device when RDM is opened.
  - Updating orientation state when the rotate button in the RDM toolbar is pressed.
  - Updating the orientation state when a new device is selected.

There are three actions creators that are responsible for notifying the ResponsiveUI manager, `changeDevice`, `restoreDeviceState`, and `rotateViewport`. In particular:



  - `restoreDeviceState` is dispatched when the Responsive UI has finished initializing. If a previous RDM session had a device selected, then this action creator will also dispatch the `changeDevice` action to update the RDM UI to reflect the currently selected device.
  - `changeDevice` is dispatched when a device is selected.
  - `rotateViewport` is dispatched when the rotate button is clicked in the RDM toolbar.

When either of these actions is dispatched, we post a "viewport-orientation-change" message to the window that notifies the manager to update the screen orientation accordingly.

Finally, when RDM is closed, we need to ensure the original physical screen orientation is restored. We do this by calling the `setRDMPaneOrientation` on the docShell's document in the content frame script.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 20:07:13 +00:00