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

392 Коммитов

Автор SHA1 Сообщение Дата
Ciure Andrei a2bea01d84 Backed out 2 changesets (bug 1566450) for causing browser_aboutdebugging_process_main_local.js to perma fail CLOSED TREE
Backed out changeset b0eee59fb22c (bug 1566450)
Backed out changeset ea5411c307fb (bug 1566450)
2019-07-30 13:25:30 +03:00
yulia dc867ee1d5 bug 1566450 - Implement a metaclass for content processes r=ochameau,jdescottes
WIP for metaclass concept

The best place to start is the test, it outlines what the API looks like.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 13:19:49 +00:00
Julian Descottes c9aba0f00c Bug 1531349 - Rename multi-e10s-helper to service-workers-debug-helper r=ladybenko,yulia
Differential Revision: https://phabricator.services.mozilla.com/D38850

--HG--
rename : devtools/shared/multi-e10s-helper.js => devtools/shared/service-workers-debug-helper.js
extra : moz-landing-system : lando
2019-07-29 12:59:25 +00:00
Brian Hackett 35c0ee1da7 Bug 1556813 Part 5 - Server changes for instrumentation based control logic, r=loganfsmyth.
--HG--
extra : rebase_source : b678f9170a1d2250c5916d9a9dcbfe7ed82c0a0b
extra : histedit_source : 548ebf0a3570200dcf856cff249a518a568e9d5a
2019-06-12 07:42:49 -10:00
Alexandre Poirot 0d64e50e68 Bug 1568185 - Remove unused bindObjectActor argument from console actor. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39051

--HG--
extra : moz-landing-system : lando
2019-07-24 08:35:41 +00:00
Bogdan Tara b478ba698c Backed out 2 changesets (bug 1568203, bug 1568185) for ES lint failure on eval-with-debugger.js CLOSED TREE
Backed out changeset adc394f833f9 (bug 1568203)
Backed out changeset 46c3a1fdc706 (bug 1568185)
2019-07-24 11:24:51 +03:00
Alexandre Poirot 802d183dff Bug 1568185 - Remove unused bindObjectActor argument from console actor. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39051

--HG--
extra : moz-landing-system : lando
2019-07-24 07:47:55 +00:00
Anshul 2b608adeff Bug 1454827 - Rename onSource to source in source actor r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D38191

--HG--
extra : moz-landing-system : lando
2019-07-19 15:33:58 +00:00
yulia 4e6d03ada7 Bug 1559819 - rename context to thread; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32849

--HG--
extra : moz-landing-system : lando
2019-07-11 09:45:02 +00:00
yulia cc00bf541b Bug 1559819 - rename threadClient to threadFront; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32848

--HG--
rename : devtools/client/debugger/src/actions/tests/helpers/threadClient.js => devtools/client/debugger/src/actions/tests/helpers/threadFront.js
rename : devtools/shared/client/thread-client.js => devtools/shared/fronts/thread.js
extra : moz-landing-system : lando
2019-07-11 09:45:32 +00:00
Victor Porof b8157dfaaf Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE
# ignore-this-changeset

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

--HG--
extra : source : 4722b924e08478f5337ab509718bd66906bf472f
extra : amend_source : a5baa1aab21639fdba44537e3a10b179b0073cb4
2019-07-05 11:29:32 +02: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
Logan Smyth 76d6b8f5c2 Bug 1550835 - DOM mutation breakpoint server API. r=jlast,gl
Differential Revision: https://phabricator.services.mozilla.com/D33528

--HG--
extra : moz-landing-system : lando
2019-06-26 06:23:03 +00:00
Brian Hackett 359882bb51 Bug 1484818 - Fix record/replay problems with protocol.js ThreadClient, r=yulia.
--HG--
extra : rebase_source : 71683eca53cc53ba03f3d356bd73c40667d44073
2019-06-20 06:31:55 -10:00
yulia bf027a18fa Bug 1494796 - use getFront to retrieve threadClient; r=jdescottes
In order for a front to be available to getFront on a given target, it must be first --
registered on the target scope, and second -- set on the target's targetForm. This makes that update
for both browsing context and worker targets. This works as part of a work around until we can get
the server into better shape.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:13 +00:00
yulia 780b2f0e28 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847

--HG--
extra : moz-landing-system : lando
2019-06-14 04:23:57 +00:00
yulia dd7caa0576 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, attach/detach methods and events; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32845

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:01 +00:00
yulia 33ce714526 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient ; r=jdescottes
This is part one of removing threadClient specifics out of the debuggerClient. We were
managing messages from the thread client in a special way -- this was the "Unsolicited Pauses"
object that we had before. This patch updates the threadClient to use Front style events. This
required updating the spec for the threadClient, and several of the methods. What has not been fully
migrated here is the "resumed" event, as this is much more complex. This is taken care of in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:15 +00:00
Narcis Beleuzu 7d018750a1 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 542bcd0e56 Bug 1494796 - use getFront to retrieve threadClient; r=jdescottes
In order for a front to be available to getFront on a given target, it must be first --
registered on the target scope, and second -- set on the target's targetForm. This makes that update
for both browsing context and worker targets. This works as part of a work around until we can get
the server into better shape.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:19 +00:00
yulia 2e3fde9d0e Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847

--HG--
extra : moz-landing-system : lando
2019-06-14 00:16:39 +00:00
yulia 844b51e01a Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, attach/detach methods and events; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32845

--HG--
extra : moz-landing-system : lando
2019-06-14 00:32:28 +00:00
yulia ecc3907641 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient ; r=jdescottes
This is part one of removing threadClient specifics out of the debuggerClient. We were
managing messages from the thread client in a special way -- this was the "Unsolicited Pauses"
object that we had before. This patch updates the threadClient to use Front style events. This
required updating the spec for the threadClient, and several of the methods. What has not been fully
migrated here is the "resumed" event, as this is much more complex. This is taken care of in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:28:03 +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
Yura Zenevich 8a74234eb8 Bug 1548262 - updating walker/accessible audit API to support per type auditing. r=nchevobbe
This is done so the user has a choice what kind of audit to run or what kind of audit type to filter the accessibility tree by

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:58:33 +00:00
Gabriel Luong debbd4220d Bug 1468402 - Part 1: Add isSubgrid to the grid actor form and getParentGridNode to the walker. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D29317
2019-04-30 00:50:47 -04: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
Oriol Brufau 4be85f2295 Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28214

--HG--
extra : moz-landing-system : lando
2019-05-14 06:46:30 +00:00
yulia 814de9f0fc Bug 1450284 - rename script spec to thread.js; r=jdescottes
Rather straighforward -- as per jryans recommendation, I have renamed the file to reflect
our naming conventions.

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

--HG--
rename : devtools/shared/specs/script.js => devtools/shared/specs/thread.js
extra : moz-landing-system : lando
2019-05-13 13:56:18 +00:00
yulia cbc7ef06f1 Bug 1450284 - Complete method set in the Spec for Thread; r=jdescottes,ochameau
We need a complete specification in order to move forward with the front conversion. I
think this will also impact other parts of the refactoring, such as some of the thread specific code
in the debugger-client. This is a first pass, I did not go into detail about the return types.

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

--HG--
extra : moz-landing-system : lando
2019-05-13 13:55:44 +00:00
Yura Zenevich 4ba1b5ae4c Bug 1549397 - add progress indicator to accessibility panel audit. r=yulia,flod
Differential Revision: https://phabricator.services.mozilla.com/D30454

--HG--
extra : moz-landing-system : lando
2019-05-13 14:01:16 +00:00
Brian Hackett 42e04a6b23 Bug 1230194 Part 2 - Show stack for console evaluations that throw something, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D27827

--HG--
extra : rebase_source : 78bedd752592f1c8b6940b356c1ad43d9f1b6590
2019-04-16 11:51:52 -10:00
Daniel Varga f59107b417 Backed out changeset a0a023dac829 (bug 1392760) for debugger failure at object-inspector/types 2019-05-06 03:14:57 +03:00
Oriol Brufau 4687ff5e88 Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28214

--HG--
extra : moz-landing-system : lando
2019-04-26 15:32:50 +00:00
Micah Tigley 827e4e2e78 Bug 1509255 - Simulate 'orientationchange' event when RDM viewport is rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29308

--HG--
extra : moz-landing-system : lando
2019-05-03 16:32:22 +00:00
Coroiu Cristina ea0445309e Backed out changeset 20874bfade8e (bug 1509255) for xpcshell failures at devtools/client/responsive.html/test/unit/test_rotate_viewport.js 2019-05-03 18:07:43 +03:00
Micah Tigley 97fb7f346e Bug 1509255 - Simulate 'orientationchange' event when RDM viewport is rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29308

--HG--
extra : moz-landing-system : lando
2019-05-03 14:00:37 +00:00
Jason Laster 8f13b0d82f Bug 1537779 - Improve column breakpoint UI performance. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D28868

--HG--
extra : moz-landing-system : lando
2019-05-02 19:21:21 +00:00
yulia ef38cc7174 Bug 1545021 - Convert ArrayBuffer to a Front and Protocoljs actor; r=ochameau,jdescottes
This introduces an ArrayBuffer front, so that we no longer need to go through the thread client to get an array buffer for the sourceFront (this is the only place it is used).

It also converts the arrayBufferActor to a protocol.js actor. I was running into an issue between them. I need to double check what this issue was. If these two refactors need to be split, I can do that, but for now it looks like it wasn’t that large of a change.

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

--HG--
rename : devtools/shared/client/array-buffer-client.js => devtools/shared/fronts/array-buffer.js
extra : moz-landing-system : lando
2019-04-30 14:40:43 +00:00
yulia 69aff42510 Bug 1544697 - use LongStringFront in SourceFront; r=ochameau,jdescottes
This change does two things: it starts returning the longstring actor directly from the server. It also introduces a new type in the spec — sourcedata.

This sourcedata can handle either a plain form (for array buffer) or it writes to and from a front. This is the major change. It could be the basis for writing a union type for protocol.js, which would do the same thing based on a list (ie — RetVal(“nullable:arraybuffer|nullable:longstring”))

This could be useful for getting handling the return value of createValueGrip (https://searchfox.org/mozilla-central/rev/f46e2bf881d522a440b30cbf5cf8d76fc212eaf4/devtools/server/actors/object/utils.js#75)

This requires that this stack lands first: https://phabricator.services.mozilla.com/D27709

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

--HG--
extra : moz-landing-system : lando
2019-04-30 08:04:33 +00:00
Yura Zenevich ed9d7a2698 Bug 1544713 - make full page audit non-blocking. Fire 'audit-event' events when the full page audit completes or fails. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D28854

--HG--
extra : moz-landing-system : lando
2019-04-29 21:08:31 +00:00
Yura Zenevich 7684e5c002 Bug 1546555 - make AccessibleActor form data a smallest set of accessible data necessary for the a11y panel to work. Allow for fetching full accessible object data via new hydrate method. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28752

--HG--
extra : moz-landing-system : lando
2019-04-27 13:33:17 +00:00
yulia 1aa3bce3f9 Bug 1544694 - move and rename SourceClient to SourceFront; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27709

--HG--
rename : devtools/shared/client/source-client.js => devtools/shared/fronts/source.js
extra : moz-landing-system : lando
2019-04-26 13:50:47 +00:00
yulia 47738413e6 Bug 1544694 - Convert Source Client to a Front; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27708

--HG--
extra : moz-landing-system : lando
2019-04-26 12:51:07 +00:00
yulia 854b687951 Bug 1544694 - remove unused method 'getExecutableLines' from sourceClient; r=ochameau,jdescottes,loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D27706

--HG--
extra : moz-landing-system : lando
2019-04-23 13:48:59 +00:00
Dorel Luca e349607790 Backed out 2 changesets (bug 1544694) for XPCshell failures in devtools/server/tests/unit/test_blackboxing-01.js. CLOSED TREE
Backed out changeset 63d133aae187 (bug 1544694)
Backed out changeset fc739beb6782 (bug 1544694)
2019-04-23 13:09:41 +03:00
yulia a2dd505a24 Bug 1544694 - remove unused method 'getExecutableLines' from sourceClient; r=ochameau,jdescottes,loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D27706

--HG--
extra : moz-landing-system : lando
2019-04-17 16:15:15 +00:00
Gurzau Raul 52b651e168 Merge inbound to mozilla-central. a=merge 2019-04-20 12:54:53 +03:00