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
Alexandre Poirot
6d6a725f9b
Bug 1506546 - Refactor listAddons call sites. r=yulia
...
Adapt to the new returned value of listAddons
and also always call it from RootFront instead of DebuggerClient.
Fix the spec in order to expose reload on the front (it was a miss from a previous patch).
MozReview-Commit-ID: AQ5EOQEqnxX
Depends on D12575
Differential Revision: https://phabricator.services.mozilla.com/D12576
2018-11-27 19:17:48 +00:00
Alexandre Poirot
f2cc564831
Bug 1506546 - Implement RootFront.getAddon and use it to retrieve a single AddonTargetFront. r=yulia
...
MozReview-Commit-ID: nWTkfbF9qb
Depends on D12574
Differential Revision: https://phabricator.services.mozilla.com/D12575
2018-11-27 19:18:06 +00:00
Andreea Pavel
2e1438afd5
Backed out 7 changesets (bug 1506546) fo failing devtools at devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_system_addons.js on a CLOSED TREE
...
Backed out changeset fbe3f2183f32 (bug 1506546)
Backed out changeset 8972a2f14015 (bug 1506546)
Backed out changeset 00fe26234b3d (bug 1506546)
Backed out changeset 7d8e650e25c2 (bug 1506546)
Backed out changeset a293a37483b9 (bug 1506546)
Backed out changeset 7b75250a4f12 (bug 1506546)
Backed out changeset 23ad29cb776e (bug 1506546)
2018-11-27 14:37:14 +02:00
Alexandre Poirot
215fe5609a
Bug 1506546 - Refactor listAddons call sites. r=yulia
...
Adapt to the new returned value of listAddons
and also always call it from RootFront instead of DebuggerClient.
Fix the spec in order to expose reload on the front (it was a miss from a previous patch).
MozReview-Commit-ID: AQ5EOQEqnxX
Depends on D12575
Differential Revision: https://phabricator.services.mozilla.com/D12576
2018-11-27 11:23:22 +00:00
Alexandre Poirot
caf7aef5cd
Bug 1506546 - Implement RootFront.getAddon and use it to retrieve a single AddonTargetFront. r=yulia
...
MozReview-Commit-ID: nWTkfbF9qb
Depends on D12574
Differential Revision: https://phabricator.services.mozilla.com/D12575
2018-11-27 11:23:20 +00:00
Alexandre Poirot
f957d16f3d
Bug 1508287 - Refactor server xpcshell tests that do not pass in worker context. r=yulia
...
MozReview-Commit-ID: 4qGo1ZF7ITC
Depends on D12311
Differential Revision: https://phabricator.services.mozilla.com/D12312
2018-11-22 15:23:26 +00:00
Alexandre Poirot
2f1e127be2
Bug 1508287 - Refactor xpcshell tests using custom principal. r=yulia
...
MozReview-Commit-ID: 3a9IB4XFjff
Depends on D12310
Differential Revision: https://phabricator.services.mozilla.com/D12311
2018-11-22 15:23:24 +00:00
Alexandre Poirot
f381d2e193
Bug 1508287 - Refactor most debugger server test using run_test_with_server to share more code. r=yulia
...
There is a lot of code being copy paste in all these tests
and as I'm most likely going to change things around them in the near future
regarding fission, it would be better if we start sharing more code.
After this there is still a couple of copy paste code (but way less!):
* breakpoints: wait a paused event and eval a custom script in a sandbox
* object grips: set the security.allow_eval_with_system_principal pref, eval stopMe and wait for paused
* stepping: use executeOnNextTickAndWaitForPause to eval a custom script and wait for pause while doing this only on next tick
There is most likely more to share, but at least this isn't framework code, but now only code specific to the debugger.
MozReview-Commit-ID: JgD389cas2j
Depends on D12309
Differential Revision: https://phabricator.services.mozilla.com/D12310
2018-11-22 15:23:22 +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
Alexandre Poirot
a517296222
Bug 1506549 - Introduce API to listen for new child fronts of a given type. r=yulia
...
MozReview-Commit-ID: EKWTGhGo0VM
Depends on D11624
Differential Revision: https://phabricator.services.mozilla.com/D11625
2018-11-15 10:23:00 +00:00
Alexandre Poirot
e9c1084d13
Bug 1506549 - Stop returning the actor from Pool.manage. r=yulia
...
This was only used by test and isn't much useful.
MozReview-Commit-ID: DeIimVmMOOs
Depends on D11623
Differential Revision: https://phabricator.services.mozilla.com/D11624
2018-11-15 10:22:58 +00:00
Alexandre Poirot
781a5ac688
Bug 1506549 - Return target fronts out of RootFront.getProcess and getMainProcess. r=yulia
...
MozReview-Commit-ID: EGWYEmAkbtr
Depends on D11693
Differential Revision: https://phabricator.services.mozilla.com/D11622
2018-11-15 10:22:49 +00:00
Julian Descottes
642decd9bc
Bug 1506581 - Listen to all possible AddonManager events in BrowserAddonList;r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D11644
2018-11-13 14:26:39 +00:00
Andreea Pavel
9d41a0a2bf
Backed out 5 changesets (bug 1506549) for failing devtools at devtools/client/aboutdebugging/test/browser_service_workers_status.js on a CLOSED TREE
...
Backed out changeset 6be66dea928c (bug 1506549)
Backed out changeset da0d76d0e8fc (bug 1506549)
Backed out changeset 490eeba8f9f7 (bug 1506549)
Backed out changeset 97554f465eca (bug 1506549)
Backed out changeset 4f259de6cce0 (bug 1506549)
2018-11-14 21:46:07 +02:00
Alexandre Poirot
d11fed2899
Bug 1506549 - Introduce API to listen for new child fronts of a given type. r=yulia
...
MozReview-Commit-ID: EKWTGhGo0VM
Depends on D11624
Differential Revision: https://phabricator.services.mozilla.com/D11625
2018-11-14 16:20:57 +00:00
Alexandre Poirot
b2d3c01b7c
Bug 1506549 - Stop returning the actor from Pool.manage. r=yulia
...
This was only used by test and isn't much useful.
MozReview-Commit-ID: DeIimVmMOOs
Depends on D11623
Differential Revision: https://phabricator.services.mozilla.com/D11624
2018-11-14 15:48:20 +00:00
Alexandre Poirot
0d5dc1f31e
Bug 1506549 - Return target fronts out of RootFront.getProcess and getMainProcess. r=yulia
...
MozReview-Commit-ID: EGWYEmAkbtr
Depends on D11693
Differential Revision: https://phabricator.services.mozilla.com/D11622
2018-11-14 15:48:16 +00:00
Alexandre Poirot
1fc5daee89
Bug 1498280 - Introduce RootClient.getMainProcess to fetch ParentProcessTargetActor. r=yulia
...
MozReview-Commit-ID: E9OiwqDwNk7
Differential Revision: https://phabricator.services.mozilla.com/D11758
2018-11-13 14:07:36 +00:00
Alexandre Poirot
26ebb91e5e
Bug 1505175 - Cleanup head_dbg.js from unecessary usages of rootForm. r=yulia
...
MozReview-Commit-ID: 2ZfghtMuAH2
Depends on D11153
Differential Revision: https://phabricator.services.mozilla.com/D11154
2018-11-09 09:38:50 +00:00
Alexandre Poirot
2475279d52
Bug 1505175 - Refactor get_parent_process_actors to only create a DebuggerClient. r=yulia
...
MozReview-Commit-ID: ChcKTEaO80a
Depends on D11152
Differential Revision: https://phabricator.services.mozilla.com/D11153
2018-11-09 09:38:40 +00:00
Alexandre Poirot
c6cd6525b6
Bug 1505172 - Remove references to devtools.debugger.forbid-certified-apps preference. r=jdescottes,jryans
...
MozReview-Commit-ID: JV8MXvIuXaa
Differential Revision: https://phabricator.services.mozilla.com/D11152
2018-11-08 16:46:58 +00:00
Daisuke Akatsuka
7abda417de
Bug 1497448: Rename closeAllListener to closeAllSocketListeners. r=ochameau,jdescottes
...
Depends on D10868
Differential Revision: https://phabricator.services.mozilla.com/D11150
2018-11-07 17:46:05 +00:00
Daisuke Akatsuka
d36d4b73fd
Bug 1497448: Rename _addListener/_removeListener of DebuggerServer to addSocketListener/removeSocketListener. r=ochameau,jdescottes
...
Depends on D10867
Differential Revision: https://phabricator.services.mozilla.com/D10868
2018-11-07 16:56:34 +00:00
Daisuke Akatsuka
1a0e92e8c8
Bug 1497448: Use SocketListener directly. r=ochameau,jdescottes
...
Depends on D10865
Differential Revision: https://phabricator.services.mozilla.com/D10867
2018-11-08 00:41:18 +00:00
Logan Smyth
c9b3c94ee0
Bug 1503436 - Only add breakpoints to first/last offset of script if column is directly in script. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D10384
2018-11-07 18:52:45 +00:00
Logan Smyth
6fd87354d1
Bug 1504358 - Ensure that step out always pauses, even when there are no steps. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D10793
2018-11-06 14:59:00 +00:00
vinoth
57318f89de
Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb
...
Reviewers: ckerschb
Reviewed By: ckerschb
Subscribers: ckerschb
Bug #: 1504605
Differential Revision: https://phabricator.services.mozilla.com/D10850
2018-11-05 16:41:45 +02:00
vinoth
336fa5f686
Bug 1504207 - Add Prefs for allowing usage of eval with system principal in test files r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D10696
2018-11-05 13:39:31 +00:00
Andreea Pavel
37a6be7d8b
Backed out changeset 792fd0ab86d1 (bug 1503436) for failing damp at damp | debugger/custom.js on a CLOSED TREE
2018-11-01 23:43:49 +02:00
Logan Smyth
8ef4bd09cc
Bug 1503436 - Only add breakpoints to first/last offset of script if column is directly in script. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D10384
2018-11-01 19:09:41 +00:00
Alexandre Poirot
bc67c06de1
Bug 1485661 - Rename all "root client" to "root front". r=yulia
...
MozReview-Commit-ID: Eh7f5DeG73j
Depends on D8828
Differential Revision: https://phabricator.services.mozilla.com/D9072
2018-10-30 08:08:48 +00:00
Alexandre Poirot
a8e63e0fbc
Bug 1485661 - Special test fixes. r=yulia
...
* browser_two_tabs.js, adapt to protocol.js exception on RDP error.
protocol.js throws strings instead of { error, message }.
* target-from-url.js, same, it made a test fail.
* browser_toolbox_tool_remote_reopen.js, ignore root front that isn't release on
toolbox close, but on client close.
* test_protocol_formtype.js, ensure that test root front isn't overridden
by regular root front's spec.
MozReview-Commit-ID: HCuyZTQpaCt
Depends on D8825
Differential Revision: https://phabricator.services.mozilla.com/D8983
2018-10-30 08:08:42 +00:00
Alexandre Poirot
66eea26edd
Bug 1485661 - Adapt addonListChanged to new front. r=yulia
...
MozReview-Commit-ID: 7BJ9qZYP2YO
Depends on D8820
Differential Revision: https://phabricator.services.mozilla.com/D8821
2018-10-30 08:08:27 +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
39c9a1c3e4
Bug 1495551 - Rename all "tab client" occurences to "target front". r=jdescottes
...
MozReview-Commit-ID: JrEdamUz6Be
Differential Revision: https://phabricator.services.mozilla.com/D8840
2018-10-16 18:45:33 +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
9ab3ae8d39
Bug 1497644 - Ensure that RootClient is used for all requests made to the root actor. r=yulia
...
MozReview-Commit-ID: HJm7yQCMbkg
Depends on D8141
Differential Revision: https://phabricator.services.mozilla.com/D8142
2018-10-11 16:25:23 +00:00
Alexandre Poirot
d46ecb70dc
Bug 1497644 - Always call Root actor's getProcess request via RootClient.getProcess r=yulia
...
I also made its argument mandatory, so that later in root spec we can use a non-nullable number.
MozReview-Commit-ID: BUPgI1ww1gC
Differential Revision: https://phabricator.services.mozilla.com/D8141
2018-10-11 16:26:45 +00: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
Alexandre Poirot
e03170e01c
Bug 1492265 - Use a content process target actor for xpcshell debugging. r=jdescottes
...
MozReview-Commit-ID: J9XTgC0EBPG
Depends on D7415
Differential Revision: https://phabricator.services.mozilla.com/D7416
2018-10-09 09:31:08 +00:00
Andreea Pavel
151713e5a1
Backed out changeset 26d2f8e018b5 (bug 1492265) for failing xpcshell at devtools/server/tests/unit/test_promises_actor_attach.js a CLOSED TREE
2018-10-08 19:16:21 +03:00
Alexandre Poirot
25d9805beb
Bug 1492265 - Use a content process target actor for xpcshell debugging r=jdescottes on a CLOSED TREE
...
MozReview-Commit-ID: J9XTgC0EBPG
Depends on D7415
Differential Revision: https://phabricator.services.mozilla.com/D7416
2018-10-08 14:26:05 +00:00
Andreea Pavel
c6e00e4c95
Backed out 3 changesets (bug 1492265, bug 1496025) for failing org.mozilla.geckoview.test.AccessibilityTest.testMoveByCharacter on a CLOSED TREE
...
Backed out changeset 9259cfe05c4e (bug 1492265)
Backed out changeset 1292fd4850a7 (bug 1496025 )
Backed out changeset c9a6fdac66bb (bug 1496025 )
2018-10-08 18:07:26 +03:00
Alexandre Poirot
2bb819c57a
Bug 1492265 - Use a content process target actor for xpcshell debugging r=jdescottes
...
MozReview-Commit-ID: J9XTgC0EBPG
Depends on D7415
Differential Revision: https://phabricator.services.mozilla.com/D7416
2018-10-08 14:26:05 +00:00
Alexandre Poirot
6c7607e4c4
Bug 1496025 - Remove Promises actor r=gl
...
MozReview-Commit-ID: 55Y9FrpXCL1
Differential Revision: https://phabricator.services.mozilla.com/D7689
2018-10-08 11:12:40 +00:00
Jason Laster
c36282cc05
Bug 923975 - Teach step out to leave the current frame. r=jlast
2018-10-03 09:50:44 -04:00
Coroiu Cristina
d137c01dfa
Backed out 2 changesets (bug 923975) for devtools failures at devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-04.js on a CLOSED TREE
...
Backed out changeset e1ac0b6c2ca0 (bug 923975)
Backed out changeset 9f50e3dd7b14 (bug 923975)
2018-10-03 02:38:29 +03:00
Jason Laster
585d0cba44
Revert "Backed out changeset c209b1927107 (bug 923975) for failing at mochitest/browser_dbg_rr_stepping-02.js, etc. removed obsolete files. a=backout"
...
This reverts commit b7f018206386dab85fb82cbaaf24f15ad60eff14.
2018-10-02 16:40:32 -04:00