Commit Graph
1266 Commits
Author SHA1 Message Date
Alexandre Poirot cb730a6fb4 Bug 1513565 - Remove now-unused form argument from Target. r=yulia
Depends on D14280

Differential Revision: https://phabricator.services.mozilla.com/D14765
2018-12-18 23:36:06 +00:00
Alexandre Poirot 236990a3dc Bug 1513565 - Convert the last manually instantiated fronts to target.getFront. r=yulia
Depends on D14279

Differential Revision: https://phabricator.services.mozilla.com/D14280
2018-12-18 23:35:59 +00:00
Alexandre Poirot eab3bc2c14 Bug 1514819 - Convert RootFront.getWindow to return a front instead of a form. r=yulia
This method is only used by target-from-url, it allows to return
a target got one precise top level window and instead of the whole main process.

It looks like it was the very last non-front/still-form target codepath.

Differential Revision: https://phabricator.services.mozilla.com/D14841
2018-12-18 08:54:01 +00:00
yulia 4cc660fec3 Bug 1508660 - migrate getOrCreateHighlighterByType to inspectorFront; r=ochameau
Depends on D12439

Differential Revision: https://phabricator.services.mozilla.com/D12440
2018-12-18 08:45:30 +00:00
yulia 335b1acd0f Bug 1508660 - introduce getCachedFront; r=ochameau
Depends on D12439

Differential Revision: https://phabricator.services.mozilla.com/D13110
2018-12-18 08:32:33 +00:00
yulia 334e6bad1c Bug 1508660 - migrate getKnownHighlighter to inspectorFront; r=ochameau
Depends on D12438

Differential Revision: https://phabricator.services.mozilla.com/D12439
2018-12-18 08:45:28 +00:00
yulia 62299120dc Bug 1508660 - migrate getHighlighterByType to inspector front; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D12438
2018-12-18 08:31:43 +00:00
Ciure Andrei 3e1f01f806 Backed out 14 changesets (bug 1508660, bug 1508656, bug 1504185) for browser_target_cached-front.js perma failures CLOSED TREE
Backed out changeset 08e5ae4312b3 (bug 1508660)
Backed out changeset 01b687bb0b75 (bug 1504185)
Backed out changeset 140374b098aa (bug 1504185)
Backed out changeset caafdc0ea4c7 (bug 1508656)
Backed out changeset 8b98b777aec2 (bug 1508656)
Backed out changeset f1905a2f9b6c (bug 1508656)
Backed out changeset 8b01632f9e3d (bug 1508656)
Backed out changeset eb4c893d451e (bug 1508656)
Backed out changeset 70db61618160 (bug 1508656)
Backed out changeset dff79b73c7fe (bug 1508660)
Backed out changeset b3518d5285be (bug 1508660)
Backed out changeset 94a957b9ba90 (bug 1508660)
Backed out changeset 773938f18269 (bug 1508660)
Backed out changeset 4eca8fce0a47 (bug 1508660)
2018-12-17 17:15:23 +02:00
Yulia Startsev 07853fb514 Bug 1508660 - Fix eslint issue from rebase r=ochameau CLOSED TREE 2018-12-17 05:55:00 +02:00
yulia 8a61e7cf7e bug 1504185 - remove highlighterUtils from devtools; r=ochameau
Depends on D11083

Differential Revision: https://phabricator.services.mozilla.com/D11084
2018-12-17 12:29:26 +00:00
yulia 41a9f13f33 Bug 1508656 - fix failing test browser_inspector_switch-to-inspector-on-pick; r=ochameau
Depends on D12290

Differential Revision: https://phabricator.services.mozilla.com/D12291
2018-12-17 12:29:30 +00:00
yulia c278487f3d Bug 1508656 - migrate cancel picker to nodePicker; r=ochameau
Depends on D12126

Differential Revision: https://phabricator.services.mozilla.com/D12290
2018-12-17 12:51:35 +00:00
yulia 8be7f6bf9f Bug 1508656- migrate togglePicker to nodePicker; r=ochameau
Depends on D12119

Differential Revision: https://phabricator.services.mozilla.com/D12122
2018-12-17 12:51:31 +00:00
yulia b55c3ce2de Bug 1508656 - migrate startPicker and stopPicker to nodePicker; r=ochameau
Depends on D12122

Differential Revision: https://phabricator.services.mozilla.com/D12126
2018-12-17 12:51:33 +00:00
yulia 4ec580db13 bug 1508656 - migrate node picking methods to NodePicker module, and use it through the inspector; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D12119
2018-12-17 12:51:10 +00:00
yulia ff299389eb Bug 1508660 - migrate getOrCreateHighlighterByType to inspectorFront; r=ochameau
Depends on D12439

Differential Revision: https://phabricator.services.mozilla.com/D12440
2018-12-17 12:29:39 +00:00
yulia 1a3a638149 Bug 1508660 - introduce getCachedFront; r=ochameau
Depends on D12439

Differential Revision: https://phabricator.services.mozilla.com/D13110
2018-12-17 13:23:29 +00:00
yulia 5bb28a0aad Bug 1508660 - migrate getKnownHighlighter to inspectorFront; r=ochameau
Depends on D12438

Differential Revision: https://phabricator.services.mozilla.com/D12439
2018-12-17 12:29:37 +00:00
yulia 059fe81389 Bug 1508660 - migrate getHighlighterByType to inspector front; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D12438
2018-12-17 12:07:03 +00:00
Alexandre Poirot 662d5ebb84 Bug 1508285 - Refactor RootFront.listTabs to return BrowsingContextTargetFront instead of JSON form. r=yulia,jdescottes
MozReview-Commit-ID: 4CMHJ3tV7Rc

Depends on D14174

Differential Revision: https://phabricator.services.mozilla.com/D14175
2018-12-17 11:56:30 +00:00
Alexandre Poirot a69cf9b2e7 Bug 1508285 - Use RootFront.rootForm instead of listTabs to fetch global actors. r=yulia
MozReview-Commit-ID: Ed5SyZbB0kq

Depends on D14173

Differential Revision: https://phabricator.services.mozilla.com/D14174
2018-12-17 11:56:28 +00:00
Alexandre Poirot c2c92214da Bug 1508285 - Refactor RootFront.getTab to return BrowsingContextTargetFront instead of JSON form. r=yulia
MozReview-Commit-ID: 6TOInM5BmYe

Differential Revision: https://phabricator.services.mozilla.com/D14173
2018-12-17 11:56:26 +00:00
yulia e007cf4da0 Bug 1495389 - remove instances of toolbox.performance; r=ochameau
Depends on D11295

Differential Revision: https://phabricator.services.mozilla.com/D11296
2018-12-17 11:29:17 +00:00
yulia a234e442c1 Bug 1495389 - remove destroy method for performance actor; r=ochameau
Depends on D11294

Differential Revision: https://phabricator.services.mozilla.com/D11295
2018-12-17 11:27:32 +00:00
yulia 1bec0b4e8a Bug 1495389 - refactor toolbox to no longer queue performance events; r=ochameau
Depends on D11293

Differential Revision: https://phabricator.services.mozilla.com/D11294
2018-12-17 11:26:49 +00:00
yulia 274b4394e3 Bug 1495389 - add test for expected async behavior in the performance front; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D10562
2018-12-17 11:54:53 +00:00
Logan Smyth 21369e75a2 Bug 1513655 - Remove source-map module and usage from the debugger server. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D14296
2018-12-14 19:49:08 +00:00
Cosmin Sabou 29a6a69f29 Backed out changeset 4d61e1b695c9 (bug 1513655) for ESlint failure on devtools/server/actors/thread.js. CLOSED TREE 2018-12-14 21:37:34 +02:00
Logan Smyth 0a7c3e0a7f Bug 1513655 - Remove source-map module and usage from the debugger server. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D14296
2018-12-14 19:09:15 +00:00
Punam fedf258bcf Bug 1502924 - Remove Ctrl + Shift + S keyboard shortcut r=jlast,_6a68
***

Remove Ctrl + Shift + S ( Cmd + Opt + S for Mac) key board shortcut

Differential Revision: https://phabricator.services.mozilla.com/D13854
2018-12-12 23:04:29 +00:00
Florens Verschelde 143aa59b0d Bug 1512278 - add empty alt text to ToolboxTab icon; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D13865
2018-12-06 07:58:15 +00:00
yulia 5f73ddf5db Bug 1512086 - fix console highlighting and update test to fail if it doesnt; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D13826
2018-12-05 22:02:36 +00:00
Jason Laster 371cea5118 Bug 1510408 - Closing devtools should stop recording. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D13145
2018-11-30 01:28:14 +00:00
Julian Descottes c189c08930 Bug 1510182 - Load edit menu strings for each new toolbox window;r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D13222
2018-11-28 11:43:34 +00:00
Cosmin Sabou 438ab15b79 Merge mozilla-central to mozilla-inbound. 2018-11-28 06:12:39 +02:00
Jason Laster 2902ccf38e Bug 1510048 - Player UI Updates. r=dwalsh
Tags:

Bug #: 1510048

Differential Revision: https://phabricator.services.mozilla.com/D13017
2018-11-27 21:46:20 -05: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
Alexandre Poirot 67bb5020f7 Bug 1506546 - Use protocol.js to fetch WebExtension target actor. r=yulia
We were dipatching the "connect" request manually, whereas we should be using
protocol.js specifications. It also help getting rid of another use of "form"
instead of "front"/activeTab in Target class.

MozReview-Commit-ID: IOH4mDprAVL

Depends on D12577

Differential Revision: https://phabricator.services.mozilla.com/D12578
2018-11-27 19:16:51 +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
Alexandre Poirot 05559ce854 Bug 1506546 - Change the spec type of listAddons and accomodate using the front rather than the form. r=yulia
MozReview-Commit-ID: 4MAjszUiGUZ

Depends on D12573

Differential Revision: https://phabricator.services.mozilla.com/D12574
2018-11-27 19:18:28 +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 be575263a9 Bug 1506546 - Use protocol.js to fetch WebExtension target actor. r=yulia
We were dipatching the "connect" request manually, whereas we should be using
protocol.js specifications. It also help getting rid of another use of "form"
instead of "front"/activeTab in Target class.

MozReview-Commit-ID: IOH4mDprAVL

Depends on D12577

Differential Revision: https://phabricator.services.mozilla.com/D12578
2018-11-27 11:23:26 +00: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 8df5a146e5 Bug 1506546 - Change the spec type of listAddons and accomodate using the front rather than the form. r=yulia
MozReview-Commit-ID: 4MAjszUiGUZ

Depends on D12573

Differential Revision: https://phabricator.services.mozilla.com/D12574
2018-11-27 11:23:18 +00:00
Julian Descottes b84b89e88e Bug 1497457 - Remove transportDetails from runtimeDetails;r=daisuke,ladybenko
Depends on D12095. Now that we pass a remoteId to open about:devtools-toolbox, we actually don't need transportDetails

Differential Revision: https://phabricator.services.mozilla.com/D12097
2018-11-27 10:23:24 +00:00
Julian Descottes 6398bfec53 Bug 1497457 - Reuse clients from remote client manager in about:devtools-toolbox;r=daisuke,ladybenko
Depends on D12039

Differential Revision: https://phabricator.services.mozilla.com/D12040
2018-11-27 10:22:31 +00:00
Daniel Varga 2338233c05 Backed out 7 changesets (bug 1497457) for devtools failure at devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_sidebar_usb_runtime_refresh.js on a CLOSED TREE
Backed out changeset d3b46f3a0306 (bug 1497457)
Backed out changeset bd490139b395 (bug 1497457)
Backed out changeset b2830500918c (bug 1497457)
Backed out changeset 9923755ee205 (bug 1497457)
Backed out changeset f2a39a18f2f6 (bug 1497457)
Backed out changeset 95365a2d7470 (bug 1497457)
Backed out changeset 0e93acc09952 (bug 1497457)
2018-11-27 00:59:34 +02:00