Commit Graph
209 Commits
Author SHA1 Message Date
Alexandre Poirot b402ba2756 Bug 1509315 - Remove leftover from debugger head.js file. r=yulia
I also removed the get root form leftover.

MozReview-Commit-ID: DxPwG9a5YAG

Depends on D12731

Differential Revision: https://phabricator.services.mozilla.com/D12732
2018-11-27 21:48:01 +00:00
Alexandre Poirot 0205bcb97a Bug 1509315 - Use TargetFactory.forTab for creating targets in tests. r=yulia
There is 4 patterns here:
* Tests using attachThreadActorForUrl like event-listeners ones. I augmented this helper method to call TargetFactory.
* Tests using attachTargetActorForUrl like debugger-statement, dbg-navigation and target-scoped-actor. Uses TargetFactory directly.
* Tests using connectDebuggerClient like navigateEvents and spaw_actor_in_parent. Uses TargetFactory directly.
* All the others, where creating DebuggerClient on their own, and calling listTabs+attachTarget. They now use TargetFactory directly.

A note about webconsole-helpers, only consoleClient attribute was used from tests using this helper.
Also, in various tests I remove the call to client.destroy, that's because shared-head will
close all the tabs/toolboxes and it should lead to target/client destruction.
Finally, debugger-statement now request the thread actor via the client instead of manual request,
it should help the refactoring to a front!

MozReview-Commit-ID: 2ah4UmSjuoi

Depends on D12730

Differential Revision: https://phabricator.services.mozilla.com/D12731
2018-11-27 21:47:59 +00:00
Alexandre Poirot 2c7d0fee4e Bug 1509315 - Pass the full target form to all BrowsingContextTargetFront instances. r=yulia
For now, we only pass { actor } for all tab target fronts created via DebuggerClient.attachTarget,
whereas parent process target fronts were passing the full form from RootFront.getProcess.

MozReview-Commit-ID: 1H2NxFv8glY

Differential Revision: https://phabricator.services.mozilla.com/D12730
2018-11-27 21:47:52 +00:00
Nazım Can Altınova eb059f7d89 Bug 1476775 - Part 2: Change the profiler usage in devtools after API change r=julienw,gregtatum
Depends on D6267

Differential Revision: https://phabricator.services.mozilla.com/D6268
2018-11-23 16:10:08 +00:00
yulia 9003a64fc0 bug 1507146 - add await to all target.getFront calls in async callsites; r=ochameau
Depends on D11885

Differential Revision: https://phabricator.services.mozilla.com/D11886
2018-11-14 15:11:59 +00:00
Julian Descottes feb809d3ab Bug 1505035 - Force dom.ua_widget.enabled to true in inspector server tests for ua widgets;r=test-only 2018-11-06 15:41:53 +01:00
Julian Descottes c58aee0697 Bug 1483660 - Add server test for UA widget support in inspector;r=ladybenko
Depends on D10538

Differential Revision: https://phabricator.services.mozilla.com/D10539
2018-11-05 17:23:54 +00:00
yulia 7bb7129828 Bug 1495388 - Fix test failures associated with async inspector initalization; r=ochameau
Depends on D8707

Differential Revision: https://phabricator.services.mozilla.com/D8992
2018-10-30 14:51:40 +00:00
Alexandre Poirot 4de8dbcb83 Bug 1502910 - Remove TimelineActor. r=Honza
MozReview-Commit-ID: DtmS18EYw12

Depends on D10186

Differential Revision: https://phabricator.services.mozilla.com/D10187
2018-10-30 10:49:19 +00:00
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
Alexandre Poirot 73e6f4f534 Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

Differential Revision: https://phabricator.services.mozilla.com/D7459
2018-10-15 08:36:10 +00:00
Brindusan Cristian dac48fe630 Backed out 8 changesets (bug 1485660) for damp failures on front.hasRequests. CLOSED TREE
Backed out changeset 7a2f29bbe2a8 (bug 1485660)
Backed out changeset 26e82fa62444 (bug 1485660)
Backed out changeset 9bb2f56f219d (bug 1485660)
Backed out changeset 40a3c2dd1b38 (bug 1485660)
Backed out changeset cfb160882db9 (bug 1485660)
Backed out changeset 3642f2d66777 (bug 1485660)
Backed out changeset 9026679753b2 (bug 1485660)
Backed out changeset dccca441b980 (bug 1485660)
2018-10-11 22:33:35 +03:00
Alexandre Poirot db250517f9 Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

Differential Revision: https://phabricator.services.mozilla.com/D7459
2018-10-11 15:46:28 +00:00
Yura Zenevich 85875eca92 Bug 1492866 - add accessible relations to accessibility panel sidebar. r=pbro
MozReview-Commit-ID: 5u8SRnlnFyN

Differential Revision: https://phabricator.services.mozilla.com/D7208
2018-10-11 14:51:35 +00:00
Ciure Andrei 80116c980d Backed out changeset 2084a929ec4c (bug 1492866) for browser_accessibility_walker.js faiures CLOSED TREE 2018-10-10 23:46:13 +03:00
Yura Zenevich 41a027c596 Bug 1492866 - add accessible relations to accessibility panel sidebar. r=pbro
MozReview-Commit-ID: 5u8SRnlnFyN

Differential Revision: https://phabricator.services.mozilla.com/D7208
2018-10-10 19:18:03 +00:00
yulia dd660324b5 Bug 1494605 - Use target.getFront for PerformanceFront in tests; r=ochameau
Depends on D6768

Differential Revision: https://phabricator.services.mozilla.com/D7060
2018-10-04 14:57:32 +00:00
Narcis Beleuzu 40398092da Backed out changeset cb8b8676ee77 (bug 1494605) as per Yulia`s request. 2018-10-04 14:12:32 +03:00
yulia 5860cbf830 Bug 1494605 - Use target.getFront for PerformanceFront in tests; r=ochameau
Depends on D6768

Differential Revision: https://phabricator.services.mozilla.com/D7060
2018-10-01 09:43:47 +00:00
yulia d54936c19b Bug 1488381 - Use target.getFront to instantiate WebExtensionInspectedWindowFront; r=ochameau
Depends on D6768

Differential Revision: https://phabricator.services.mozilla.com/D7063
2018-09-28 17:52:26 +00:00
yulia 4d34155836 Bug 1488373 - Use target.getFront to instantiate StyleSheetsFront; r=ochameau
Depends on D6768

Differential Revision: https://phabricator.services.mozilla.com/D7093
2018-09-27 15:44:54 +00:00
yulia f391748d23 Bug 1488374 - Use target.getFront to instantiate StorageFront; r=ochameau
Depends on D7061

Differential Revision: https://phabricator.services.mozilla.com/D7062
2018-09-30 06:55:23 +00:00
yulia 8cf0c5f96e Bug 1487428 - Use target.getFront in server browser tests; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D6768
2018-09-28 05:46:29 +00:00
yulia 4f327160d1 Bug 1485373 - Use client.mainRoot.getFront to fetch all global actors; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D6792
2018-09-28 07:07:14 +00:00
Bogdan Tara f1651eb098 Backed out changeset e7624782898d (bug 1487428) for test_inspector-insert.html failures CLOSED TREE 2018-09-27 23:38:04 +03:00
yulia 1cded80d53 Bug 1487428 - Use target.getFront in server browser tests; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D6768
2018-09-27 15:18:08 +00:00
yulia 6746bca3cc Bug 1473513 - move ActorRegistry module to server/actors/utils; r=ochameau
Summary: Depends on D6477

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6479
2018-09-26 10:09:15 +02:00
yulia 48c56bd0e3 Bug 1473513 - separate registerModule behavior from DebuggerServer; r=ochameau
Summary:
MozReview-Commit-ID: 3GsXRxcIKfx

Depends on D6473

Reviewers: ochameau

Reviewed By: ochameau

Subscribers: reviewbot

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6474
2018-09-26 10:06:43 +02:00
Alexandre Poirot b068be38d9 Bug 1485676 - Rename DebuggerClient.attachTab to attachTarget. r=jdescottes
Summary:
This method isn't specific to tabs. It can attach to any "target" actor that inherits from BrowsingContextActor.

Depends On D6161

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: Exz5fWyWyfN
2018-09-24 09:52:59 -07:00
shindli dbbcc1c04f Backed out 9 changesets (bug 1485676) for failures in browser/tools/mozscreenshots/devtools/browser_devtools.js CLOSED TREE
Backed out changeset d358feec4ca1 (bug 1485676)
Backed out changeset ed554dbb062f (bug 1485676)
Backed out changeset 6e78058df94d (bug 1485676)
Backed out changeset 3a6f1b0e71f4 (bug 1485676)
Backed out changeset 16d2403aa787 (bug 1485676)
Backed out changeset 454eddf52157 (bug 1485676)
Backed out changeset 926f725f2183 (bug 1485676)
Backed out changeset fb03f174bd5f (bug 1485676)
Backed out changeset ceb93dd1799a (bug 1485676)
2018-09-24 15:27:27 +03:00
Alexandre Poirot 223b740d02 Bug 1485676 - Rename DebuggerClient.attachTab to attachTarget. r=jdescottes
Summary:
This method isn't specific to tabs. It can attach to any "target" actor that inherits from BrowsingContextActor.

Depends On D6161

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: Exz5fWyWyfN
2018-09-24 01:25:03 -07:00
Gurzau Raul a532c08398 Backed out 9 changesets (bug 1485676) for failing at damp inspector/cold-open.js on a CLOSED TREE
Backed out changeset 4de2e71debfe (bug 1485676)
Backed out changeset e63025150c7a (bug 1485676)
Backed out changeset f9ef30ae3f7f (bug 1485676)
Backed out changeset a83636fab16a (bug 1485676)
Backed out changeset b1fd24929e09 (bug 1485676)
Backed out changeset acb27b915742 (bug 1485676)
Backed out changeset ba2157632772 (bug 1485676)
Backed out changeset d1d6b9bc2372 (bug 1485676)
Backed out changeset d7646ea8640b (bug 1485676)
2018-09-22 19:42:04 +03:00
Alexandre Poirot 228a540d13 Bug 1485676 - Rename DebuggerClient.attachTab to attachTarget. r=jdescottes
Summary:
This method isn't specific to tabs. It can attach to any "target" actor that inherits from BrowsingContextActor.

Depends On D6161

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: Exz5fWyWyfN
2018-09-22 08:34:21 -07:00
arthur.iakab 12a839773f Backed out 9 changesets (bug 1485676)for perma failures in devtools/client/canvasdebugger/test/browser_canvas-actor-test-01.js CLOSED TREE
Backed out changeset 9f5ec2aa7109 (bug 1485676)
Backed out changeset 0d530c1316a4 (bug 1485676)
Backed out changeset 03278e6fe685 (bug 1485676)
Backed out changeset 275463260056 (bug 1485676)
Backed out changeset 4c5a956b33f7 (bug 1485676)
Backed out changeset d8fe80bb0e3c (bug 1485676)
Backed out changeset 56240996921f (bug 1485676)
Backed out changeset ec0a322f5cc9 (bug 1485676)
Backed out changeset f0f4f9407970 (bug 1485676)
2018-09-21 12:48:48 +03:00
Alexandre Poirot 4c774a4a3e Bug 1485676 - Rename DebuggerClient.attachTab to attachTarget. r=jdescottes
This method isn't specific to tabs. It can attach to any "target" actor that inherits from BrowsingContextActor.

Depends On D6161

Differential Revision: https://phabricator.services.mozilla.com/D6162
2018-09-21 08:08:24 +00:00
Daisuke Akatsuka 728e35a990 Bug 1490583: Remove actor related code that no longer used. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D5842
2018-09-19 02:03:49 +00:00
Noemi Erli ddc1959c2e Backed out changeset 44c69e043cf7 (bug 1490583) for failures in browser_animation_reconstructState.js 2018-09-18 21:44:19 +03:00
Daisuke Akatsuka e4f6018d4b Bug 1490583: Remove actor related code that no longer used. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D5842
2018-09-18 12:41:53 +00:00
Belen Albeza 884e302b90 Bug 1488769 - Slotted nodes not being displayed in Shadow DOM tree if the node is a text. r=jdescottes
r=jdescottes

Differential Revision: https://phabricator.services.mozilla.com/D5538
2018-09-11 15:47:09 +00:00
Julian Descottes 0043cbcf60 Bug 1486703 - Display correct hostOnly values in storage inspector;r=miker
Differential Revision: https://phabricator.services.mozilla.com/D4712
2018-09-07 10:41:42 +00:00
Belén Albeza 41da6d4767 Bug 1449955 - Server-side test for walker + shadow DOM r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4675
2018-09-01 08:31:35 +00:00
arthur.iakab e63ddb4794 Backed out 7 changesets (bug 1473513) for failing devtools e.g. leakcheck | default process: 1618727 bytes leaked
Backed out changeset deb8812556ef (bug 1473513)
Backed out changeset 5bf38cfa04f9 (bug 1473513)
Backed out changeset 6e157bea362a (bug 1473513)
Backed out changeset 12eb1139a802 (bug 1473513)
Backed out changeset ce86ea60a31c (bug 1473513)
Backed out changeset 7acc52a7f81f (bug 1473513)
Backed out changeset 4e1e283b347e (bug 1473513)
2018-08-22 18:23:46 +03:00
yulia 7fe9469272 Bug 1473513 - separate registerModule behavior from DebuggerServer; r=ochameau
MozReview-Commit-ID: 3GsXRxcIKfx
2018-07-13 18:03:28 +02:00
Micah Tigley 39b918ae0b Bug 1473030 - Show accessible object's name and role information with the info-bar highlighter. r=gl,yzen
MozReview-Commit-ID: HyKIdqsL3u
2018-08-16 00:35:02 -04:00
Julian Descottes 4577bcd4e9 Bug 1478261 - Enable browser_perf-allocation-data.js in e10s;r=ochameau
MozReview-Commit-ID: v6UZoSx2tY
2018-07-25 12:16:06 +02:00
Alexandre Poirot f2b8180efc Bug 1477988 - Implements DebuggerServer.spawnActorInParentProcess. r=jryans
This new API allows to instanciate an actor in the parent process from actors running in the parent process.
The created actors are returned to the client from the actors running in content,
but after that, the client communicates directly with the created actors running in the parent process.

MozReview-Commit-ID: 5B3wRQ94UEx
2018-07-16 09:53:28 -07:00
Alexandre Poirot b344ceb8ea Bug 1478260 - Enable server/tests/browser/browser_navigateEvents.js in e10s. r=jdescottes
MozReview-Commit-ID: 4aFvbOnfrgX
2018-07-24 23:56:18 -07:00
Julian Descottes 56554b27d4 Bug 1478254 - Enable browser_animation_updatedState.js;r=pbro
MozReview-Commit-ID: LoEGC4M7liJ
2018-07-25 12:12:22 +02:00
Alexandre Poirot 7431a299fd Bug 1474980 - Remove deprecated DebuggerServer.addActors(). r=jryans
MozReview-Commit-ID: 8J1wucp1G0p
2018-07-11 10:41:27 -07:00
J. Ryan Stinnett f489c5464f Bug 1465637 - Rename tab-scoped actors to target-scoped actors. r=ochameau
The term "tab actor" was used ambiguously to mean either the "target actor
representing a tab" or "a child actor of the tab target actor" (such as the
console actor).  Here we rename the second case to "target-scoped actor".

Differential Revision: https://phabricator.services.mozilla.com/D1760
2018-06-26 13:27:57 +00:00