Commit Graph
176 Commits
Author SHA1 Message Date
Julian Descottes fbd078a8ea Bug 1602371 - Rename LocalTabTargetFront tab getter to localTab r=ochameau
Depends on D56330

Renaming the "tab" getter to "localTab" will make it easier to refactor later.

Differential Revision: https://phabricator.services.mozilla.com/D56331
2019-12-13 10:38:07 +00:00
Julian Descottes 686f5b8419 Bug 1598557 - Move all BrowserToolbox files to a dedicated folder r=ochameau
Depends on D54119

Differential Revision: https://phabricator.services.mozilla.com/D54265
2019-11-27 11:08:11 +00:00
Nicolas Chevobbe ce25c3f455 Bug 1519103 - Remove Scratchpad panel. r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D50583
2019-10-27 09:05:58 +00:00
Jason Laster 55e1bd99ff Bug 1590241 - Enable WebReplay appears in DevEdition. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D50145
2019-10-23 00:51:00 +00:00
Brian Hackett d27005272d Bug 1580168 Part 2 - Use PID as ID of child process actors, r=ochameau.
Depends on D48084

Differential Revision: https://phabricator.services.mozilla.com/D48089
2019-10-09 20:52:47 +00:00
Julian Descottes 3d51ad2d8d Bug 1539462 - Remove the DevTools connect page r=ladybenko
Depends on D46704

Differential Revision: https://phabricator.services.mozilla.com/D46705
2019-09-25 18:50:24 +00:00
Julian Descottes b0b3bc3105 Bug 1539462 - Remove WebIDE r=ochameau,jryans,janerik,fluent-reviewers,flod
Per deprecation roadmap on https://developer.mozilla.org/en-US/docs/Tools/Deprecated_tools#WebIDE_and_Connect_page

Differential Revision: https://phabricator.services.mozilla.com/D46703
2019-09-25 17:24:58 +00:00
Gabriel Luong a4e10fe581 Bug 1580545 - Convert ResponsiveUI and ResponsiveUIManager to ES6 classes. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D45566
2019-09-11 18:51:35 +00:00
Daisuke Akatsuka 0517cc9eb0 Bug 1571942: Avoid to raise the toolbox whenever the shortcut key of inspector was typed. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D44772
2019-09-06 03:25:43 +00:00
Brendan Dahl b493d848ba Bug 1551344 - Part 2: Update outdated comments referencing XULDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D41239
2019-08-09 17:47:41 +00:00
Julian Descottes c632e13c61 Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D41009
2019-08-08 12:44:13 +00:00
Gabriel Luong 4489d92b41 Bug 1569574 - Part 1: Rename the responsive.html/ folder to responsive/. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D40929
2019-08-07 15:24:45 +00:00
Daisuke Akatsuka 699336299a Bug 1491874: Prevent raising the toolbox. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D40378
2019-08-07 02:07:08 +00:00
Daisuke Akatsuka 5176c347fc Bug 1491874: Enable Cmd+Shift+C shortcut key on the separated toolbox. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D40377
2019-08-07 02:07:01 +00:00
Nicolas Chevobbe 42b866ec0a Bug 1570320 - Rename hudservice into browser-console-manager. r=ochameau.
The file only manages the browser console, so we're
making its name reflect what it does.

Differential Revision: https://phabricator.services.mozilla.com/D40441
2019-08-05 11:40:58 +00:00
Julian Descottes aad057f81f Bug 1539451 - Disable WebIDE and ConnectPage by default r=remote-debugging-reviewers,daisuke
Depends on D37859

Differential Revision: https://phabricator.services.mozilla.com/D37860
2019-07-16 16:23:46 +00:00
yulia 7eba825d59 Bug 1559819 - rename threadClient to threadFront; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32848
2019-07-11 09:45:32 +00:00
Victor Porof b7732ae890 Bug 1561435 - Format devtools/client/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35884
2019-07-05 11:24:38 +02:00
Brian Grinstead 7aa975934f Bug 1559208 - Stop setting [devtoolstheme] on browser-bottombox;r=jdescottes
This is unused since gcli removal

Differential Revision: https://phabricator.services.mozilla.com/D34918
2019-06-18 22:44:17 +00:00
Greg Tatum d508b9c4f8 Bug 1307227 - Add a runtime check for when the profiler button is enabled and checked; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D31663
2019-05-31 15:54:25 +00:00
yulia 3fa3fe5250 Bug 1042642 - Use EventEmitter instead of EventSource for the threadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29373
2019-05-30 08:37:55 +00:00
Julian Descottes 8ec6ee9d7b Bug 1539456 - part2: Remove WebIDE toolbar button r=ntim,Ola
Depends on D29219

Differential Revision: https://phabricator.services.mozilla.com/D29220
2019-05-03 08:40:49 +00:00
yulia 0d24970e41 Bug 1494796 - Use promise pattern rather than callback pattern for threadClient methods; r=ochameau
This is preparation for moving the threadClient to a front. Fronts do not support the
callback style that clients have, they only support promises. As such, this patch migrates all
instances of the threadClient using callback style methods to promises. I have cc'd the debugger
team so that they are aware of this change and it doesn't take them by surprise.

try run : https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=242251058&revision=dbd6cca9619ca0880e920d5b86fc6d6e0c728113

Differential Revision: https://phabricator.services.mozilla.com/D28966
2019-05-02 15:39:20 +00:00
Julian Descottes 6c1b79b1fa Bug 1544692 - Enable devtools shortcuts and menu items in about:devtools-toolbox r=Ola
Depends on D29028

Differential Revision: https://phabricator.services.mozilla.com/D29029
2019-04-30 13:34:29 +00:00
Julian Descottes 1d028dfd51 Bug 1531704 - Stop calling WorkerTargetFront::destroy() from detach() r=ochameau
Try at https://treeherder.mozilla.org/#/jobs?repo=try&revision=02f79fac79a313124cfe6368812e84d823fab685

Differential Revision: https://phabricator.services.mozilla.com/D21673
2019-03-21 07:52:15 +00:00
Alexandre Poirot 9a0c58afa5 Bug 1520774 - Remove TargetFactory.forWorker. r=yulia
Depends on D18539

Differential Revision: https://phabricator.services.mozilla.com/D18540
2019-02-06 12:45:31 +00:00
Alexandre Poirot 698742a690 Bug 1520774 - Remove TargetFactory.forRemoteTab. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D18539
2019-02-06 16:17:15 +00:00
Daisuke Akatsuka e2a5c2e2b4 Bug 1495944: Enable/Disable devtools menu items and the shortcut key. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D16684
2019-01-18 16:20:43 +00:00
Dorel Luca 7d0f6e84e2 Backed out 5 changesets (bug 1495944) for DevTools failures in devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_devtoolstoolbox_menubar.js
Backed out changeset 52e5f0d01900 (bug 1495944)
Backed out changeset 025ffd6f441f (bug 1495944)
Backed out changeset df656c9d03b1 (bug 1495944)
Backed out changeset be64b571b600 (bug 1495944)
Backed out changeset 9418ac4c2fa1 (bug 1495944)
2019-01-18 16:14:34 +02:00
Daisuke Akatsuka 841d8770a8 Bug 1495944: Enable/Disable devtools menu items and the shortcut key. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D16684
2019-01-18 10:26:53 +00:00
Bogdan Tara e30a8b9a04 Backed out 5 changesets (bug 1495944) for browser_989751_subviewbutton_class.js failures CLOSED TREE
Backed out changeset f365b9fa9697 (bug 1495944)
Backed out changeset cd627a79a250 (bug 1495944)
Backed out changeset 7862a0a1c3ec (bug 1495944)
Backed out changeset f78876cf49e6 (bug 1495944)
Backed out changeset 85f355a22192 (bug 1495944)
2019-01-18 04:58:40 +02:00
Daisuke Akatsuka dcd7903c99 Bug 1495944: Enable/Disable devtools menu items and the shortcut key. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D16684
2019-01-17 23:12:29 +00:00
Alexandre Poirot e1d0ca7c1b Bug 1506548 - Return WorkerTargetFront from listWorkers instead of form. r=yulia
MozReview-Commit-ID: 4CBQNwC8tKq

Depends on D11762

Differential Revision: https://phabricator.services.mozilla.com/D11763
2018-11-15 10:23:50 +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
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 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 21259d0507 Bug 1506545 - Instantiate Target for ContentProcessTargetActor via its front. r=yulia
MozReview-Commit-ID: EE4d0YULRBU

Depends on D11614

Differential Revision: https://phabricator.services.mozilla.com/D11615
2018-11-13 20:39:58 +00:00
Alexandre Poirot d6ccdc8e76 Bug 1504706 - Call toolbox.destroy instead of going throught gDevTools.closeToolbox. r=yulia
MozReview-Commit-ID: FcAItxuKWIk

Differential Revision: https://phabricator.services.mozilla.com/D10904
2018-11-06 11:01:02 +00:00
Alexandre Poirot 8ec561bf7d Bug 1497470 - Improve error logging when the browser content toolbox fails loading. r=yulia
MozReview-Commit-ID: 2QJfxOMmmOl

Depends on D10387

Differential Revision: https://phabricator.services.mozilla.com/D10190
2018-11-05 15:02: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 cc0948cd92 Bug 1499333 - Rename all "worker client" to "worker target front". r=jdescottes
MozReview-Commit-ID: 30eOjbkYyvg

Differential Revision: https://phabricator.services.mozilla.com/D9006
2018-10-18 07:21:02 +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 3d811fae4a Bug 1492434 - Convert _getContentProcessTarget to async in order to correctly forward rejections r=jdescottes
MozReview-Commit-ID: 50HYZyUkflN

Depends on D7413

Differential Revision: https://phabricator.services.mozilla.com/D7414
2018-10-03 08:27:36 +00:00
Alexandre Poirot 600169f1e8 Bug 1492434 - Computes isBrowsingContext from TabTarget out of actor's form r=jdescottes
Instead of requiring all TargetFactory.forRemoteTab to compute isBrowsingContext flag,
we can compute it out of the actor's form as we know which types are browsing context
inherited or not.

MozReview-Commit-ID: H5zLo5nZSm6

Differential Revision: https://phabricator.services.mozilla.com/D7413
2018-10-03 09:07:18 +00:00
Brian Hackett 661825e37a Bug 1495341 - Place Web Replay menu items in their own submenu, r=jlast. 2018-10-01 09:41:32 -10:00
Alexandre Poirot 0ccb191bef Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 09:52:55 -07:00
Alexandre Poirot 85b89da0cf Bug 1485676 - Adapt gDevTools API to new async forTab and also adapt its callsites. r=yulia
Summary:
When switching to async, it is important to catch exception or register a rejection handler
so that errors keep being logged.
So in this patch I'm catching exception in a couple of important codepath.

Depends On D4541

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: IDPJVkAPbTs
2018-09-24 09:52:54 -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 ded1511af6 Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 01:25:01 -07:00
Alexandre Poirot 1db7536557 Bug 1485676 - Adapt gDevTools API to new async forTab and also adapt its callsites. r=yulia
Summary:
When switching to async, it is important to catch exception or register a rejection handler
so that errors keep being logged.
So in this patch I'm catching exception in a couple of important codepath.

Depends On D4541

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: IDPJVkAPbTs
2018-09-24 01:25:00 -07:00