Commit Graph

72 Commits

Author SHA1 Message Date
Julian Descottes
2c5cda8646 Bug 1411906 - add close button to about:devtools if devtools are disabled;r=nchevobbe
A close button on the starting page of the devtools onboarding flow
will be helpful for users who triggered the shortcut by mistake and
would like to escape the flow.

MozReview-Commit-ID: 7rZ50jFepJ3

--HG--
extra : rebase_source : 9f0dadf3a68f084d05e9f0098a8a7ac90becf964
2017-11-02 21:56:26 +01:00
Julian Descottes
b88fd1ec3c Bug 1408331 - add license header to about:devtools svg files;r=nchevobbe
MozReview-Commit-ID: 3GEL9HTqzDA

--HG--
extra : rebase_source : 1be30233935210f67f4bef994d9636133a7d9a73
2017-10-31 11:37:18 +01:00
Julian Descottes
eb12efebaf Bug 1408331 - add footer to about:devtools page;r=nchevobbe
Add a footer containing a link to download Firefox developer
edition in about:devtools after devtools have been enabled.

MozReview-Commit-ID: KFefF6qB9tO

--HG--
extra : rebase_source : 73155c83264bfb26ca25dfc9c7a2fc6f4655f460
2017-10-25 20:48:24 +02:00
Julian Descottes
16719acdc0 Bug 1410360 - add mochitest for about:devtools tab selection behavior;r=ochameau
MozReview-Commit-ID: 8eX13qJ1jt8

--HG--
extra : rebase_source : 1b4c4f0e1d078f88ab9f4b305d791dfebdb132d5
2017-10-27 18:13:18 +02:00
Julian Descottes
097acc3d05 Bug 1410360 - reselect original tab after closing about:devtools;r=ochameau
MozReview-Commit-ID: 3bInaF7Zeg9

--HG--
extra : rebase_source : d31509b2264a82d091cfdeacf8e889635f4a65b8
2017-10-26 19:03:11 +02:00
Julian Descottes
c166f24405 Bug 1410360 - open about:devtools tab next to the current tab;r=ochameau
MozReview-Commit-ID: Cw0zFAeH7r2

--HG--
extra : rebase_source : 8afa81f0a700ddee3873e5fafc77daa39bb9dfd4
2017-10-26 19:07:58 +02:00
Julian Descottes
7bc1b2d4eb Bug 1413246 - devtools-startup should add event listeners only on initial launch;r=bgrins
MozReview-Commit-ID: HmTWm5jw50Q

--HG--
extra : rebase_source : e08477640d7c2d2f5731e7f091b9f97f3af398e9
2017-10-31 23:15:43 +01:00
Julian Descottes
74e5729dd5 Bug 1412504 - update styling for about:devtools;r=nchevobbe
MozReview-Commit-ID: 42Pe9BD7dVa

--HG--
extra : rebase_source : 06ae7de7791f7d87b14f810db7b3791e66207d8f
2017-10-28 12:47:23 +02:00
Julian Descottes
c1073d72a0 Bug 1412504 - update otter image in about:devtools;r=nchevobbe
MozReview-Commit-ID: FjdDDzcj6BL

--HG--
extra : rebase_source : acb45d0478966e8dd8f3a1c74ba86e1d518f2aaf
2017-10-28 12:22:39 +02:00
Julian Descottes
20dcf62319 Bug 1410361 - reuse existing tab of about:devtools;r=nchevobbe
MozReview-Commit-ID: 2cTjzmrcLYb

--HG--
extra : rebase_source : f2faf7cf176f008f25f8b4e3e972c49b48378147
2017-10-26 15:11:51 +02:00
Julian Descottes
60ad2e8979 Bug 1412050 - session restore should not initialize devtools when unnecessary;r=bgrins
MozReview-Commit-ID: BEQBZsXREoQ

--HG--
extra : rebase_source : 137ffca2e8ebdee6056e6746f54afa3e0c4539aa
2017-10-27 10:13:27 +02:00
Julian Descottes
0ce2bfb273 Bug 1412050 - avoid devtools onboarding flow when restoring session;r=ochameau
MozReview-Commit-ID: 8fJOPaOnkQe

--HG--
extra : rebase_source : 533d576fc094290e89feb7a4feb77b83054d458c
2017-10-26 20:16:05 +02:00
Julian Descottes
b6c8ab7cc9 Bug 1408330 - remove mentions about styleeditor, webaudio and scratchpad;r=nchevobbe
MozReview-Commit-ID: 5QZDZb39cYV

--HG--
extra : rebase_source : c88f33d768101fd7825b26fd5d513e7b32e4f630
2017-10-18 12:33:32 +02:00
Julian Descottes
325c347f6c Bug 1408330 - UI polish on DevTools onboarding page;r=nchevobbe
MozReview-Commit-ID: 5JE7ZErxCxG

--HG--
extra : rebase_source : 448dbd30a273169685880362622ab27985ef7e7b
2017-10-16 16:53:55 +02:00
Julian Descottes
9c81a6382f Bug 1408368 - move aboutdevtools.dtd out of localized folder;r=nchevobbe,Pike
MozReview-Commit-ID: 6jHqNcqONh3

--HG--
rename : devtools/shim/locales/en-US/aboutdevtools.dtd => devtools/shim/aboutdevtools/tmp-locale/aboutdevtools.dtd
extra : rebase_source : 0f83692849147d3f68404fea8a808fa3ddc1f561
2017-10-13 14:21:31 +02:00
Alexandre Poirot
9b47b7dc68 Bug 1405584 - Add telemetry to track toolbox open time. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: EuaYQBx8rbE

--HG--
extra : rebase_source : deabc16b5b2df1f5d9767eaa0b83874d48306953
2017-10-11 11:43:25 +02:00
Julian Descottes
86e29220a8 Bug 1361080 - add unit test for aboutdevtools page;r=ochameau
MozReview-Commit-ID: CZV1MIj80Zf

--HG--
extra : rebase_source : e806c2cf1301eec1510f6d5476941ba100affd04
2017-10-03 23:34:44 +02:00
Julian Descottes
21c8547fe5 Bug 1361080 - Add "Enable DevTools..." menu item if devtools.enabled is false;r=ochameau
MozReview-Commit-ID: IL09o4xve64

--HG--
extra : rebase_source : b1dd8e4163fb6cbec236f8a1e3b64ab65b15577c
2017-08-29 23:09:21 +02:00
Julian Descottes
4b682362c2 Bug 1361080 - display devtools onboarding screen if devtools.enabled if false;r=ochameau
MozReview-Commit-ID: 6TtOAGc9Zzl

--HG--
extra : rebase_source : 29b9149cecfc6c1087bce42b3afdd6b88c82e62e
2017-08-28 15:12:03 +02:00
Julian Descottes
59e766b047 Bug 1361080 - add aboutdevtools component;r=ochameau
MozReview-Commit-ID: GuyQfXRKFpb

--HG--
extra : rebase_source : 808377154712b98c1bab76ee83ecbd72cb0ddc47
2017-10-04 15:16:37 +02:00
Alexandre Poirot
b4a4015145 Bug 1397452 - Remove all SDK compatiblity code from DevTools. r=jdescottes
MozReview-Commit-ID: IRhZeIS97cy

--HG--
extra : rebase_source : 31c638ef35d60368d676d855310cdfd26aa86428
2017-09-25 16:04:26 +02:00
Oriol Brufau
dfe71a8ffa Bug 1384572 - Prevent JSON Viewer from loading in iframes. r=Honza
MozReview-Commit-ID: Cj79fMt5oAO

--HG--
extra : rebase_source : d129395d6029d3b86730e3854bef723efb48a923
2017-09-20 00:01:21 +02:00
Alexandre Poirot
3675c8a0f9 Bug 1382377 - Make Console API be a no-op until DevTools are opened at least once. r=baku,jdescottes
MozReview-Commit-ID: 4xuzRQKH3Vg

--HG--
extra : rebase_source : f388a7222df314c988c3af20afb59684cc1045e5
2017-08-08 16:29:34 +02:00
Kris Maglione
821308e4d1 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0

--HG--
extra : rebase_source : 2495c07df21c474f5fabc257ff4db43b0d8047e4
2017-08-19 13:32:58 -07:00
Julian Descottes
024a25f592 Bug 1386616 - dt-addon: move key-shortcuts.properties to devtools/shim/locales;r=ochameau
MozReview-Commit-ID: 9zUqnuYIdWS

--HG--
rename : devtools/client/locales/en-US/key-shortcuts.properties => devtools/shim/locales/en-US/key-shortcuts.properties
extra : rebase_source : 806a6baa5886fbad2b50df80a7560b5300bd25b5
2017-08-02 16:20:58 +02:00
Julian Descottes
1e72d11d7b Bug 1386616 - dt-addon: create new devtools/shim locale;r=Pike
MozReview-Commit-ID: JVnBlBSPpw1

--HG--
extra : rebase_source : 1a8239167f5bfc98a170907e1337ac19b27e0799
2017-08-03 16:57:19 +02:00
Julian Descottes
68384c971b Bug 1392531 - create dedicated tab target instance for web-extensions;r=jdescottes
MozReview-Commit-ID: G7EOfYnZuZw

--HG--
extra : rebase_source : f363f9cb0027b20d9c8c5cb684af3b295b9ad289
2017-08-22 16:31:44 +02:00
Julian Descottes
d148f3f8c0 Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
MozReview-Commit-ID: GJQ7fcw1L8i

--HG--
extra : source : da075933f7bcd9e3b7ff735879c521bb50f28b7a
2017-07-24 12:12:47 +02:00
Julian Descottes
721cd7ffa1 Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs

--HG--
extra : source : b7435cd66ce3299d23f71a9bf855edbcb1ccacf2
2017-07-12 11:04:28 +02:00
Julian Descottes
8725798c60 Bug 1374735 - use DevToolsShim to create TabTarget in ext-devtools;r=mixedpuppy
Removing dependencies from mozilla-central to devtools. Use DevTools shim instead
of directly depending on devtools code here.

MozReview-Commit-ID: CeV5tfw1Vnz

--HG--
extra : source : 22baf4e67730ce89d5342cb0dd5c1e2e5944b4a1
2017-06-22 20:44:56 +02:00
Ryan VanderMeulen
b708734864 Backed out 4 changesets (bug 1374735) for test_ext_i18n.js failures on a CLOSED TREE.
Backed out changeset 50a36fb7c7f9 (bug 1374735)
Backed out changeset da075933f7bc (bug 1374735)
Backed out changeset b7435cd66ce3 (bug 1374735)
Backed out changeset 22baf4e67730 (bug 1374735)
2017-08-18 12:34:22 -04:00
Julian Descottes
e88a15e62e Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
MozReview-Commit-ID: GJQ7fcw1L8i

--HG--
extra : rebase_source : 6a079c88e5908cc8f8a021bb0a12ea44670bc5ce
2017-07-24 12:12:47 +02:00
Julian Descottes
0cda1042cc Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs

--HG--
extra : rebase_source : 018660cc54bf2454c1f810ded639fd647ba79da3
2017-07-12 11:04:28 +02:00
Julian Descottes
c6f45428f0 Bug 1374735 - use DevToolsShim to create TabTarget in ext-devtools;r=mixedpuppy
Removing dependencies from mozilla-central to devtools. Use DevTools shim instead
of directly depending on devtools code here.

MozReview-Commit-ID: CeV5tfw1Vnz

--HG--
extra : rebase_source : 515278b93ad9840f6af89fb13cc62bb819a65253
2017-06-22 20:44:56 +02:00
Brian Grinstead
4902b5d260 Bug 1388552 - Save Browser Console state in session store;r=mikedeboer,nchevobbe
This evolves restoreScratchpadSession into restoreDevToolsSession which can keep track
of more than just scratchpad windows. In this case we also restore the Browser Console.

MozReview-Commit-ID: D4vOGkpq8xH

--HG--
extra : rebase_source : 33f1a2183ee717c79f360a7dda688832a5c33566
2017-08-11 09:16:59 -07:00
Brian Grinstead
0262e6e6ac Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
MozReview-Commit-ID: 9AYCuqqv1U7

--HG--
extra : rebase_source : 83612fd2c4edfde5c86cfc11a70682cc74ebfa12
2017-08-11 09:07:04 -07:00
Julian Descottes
c6f19f876e Bug 1388738 - add comment for devtools-startup developerToggleCreated flag;r=ochameau
MozReview-Commit-ID: FN4YuM7VpHf

--HG--
extra : rebase_source : f8adaedf6511ce2ed4ffd493afbffca64337f01f
2017-08-10 11:58:36 +02:00
Julian Descottes
62b13a707c Bug 1388738 - reuse devtools-startup initDevTools in DevToolsShim;r=ochameau
MozReview-Commit-ID: 7Qr06CZBYuf

--HG--
extra : rebase_source : 55e275f49c14ada8d9633a2999ce0a86382055b9
2017-08-09 17:17:46 +02:00
Julian Descottes
a3b6311216 Bug 1386821 - add a separate flag to check if devtools entry point was recorded;r=ochameau
MozReview-Commit-ID: Ae1k097opw5

--HG--
extra : rebase_source : 3e1c4662c842f4767f8d2d4dd5128a3d24bc2e38
2017-08-03 12:55:26 +02:00
Julian Descottes
67391889ec Bug 1386821 - call initDevTools if devtools.toolbar.visible is true;r=ochameau
MozReview-Commit-ID: C1EFv9T0VKS

--HG--
extra : rebase_source : dc80edf968e75cfdbf3556c062901cbf9875c4a6
2017-08-03 08:57:38 +02:00
Julian Descottes
7c91ef2812 Bug 1387462 - Fix devtools shim test if devtools are not installed;r=ochameau
MozReview-Commit-ID: 28ArQzFGZ6H

--HG--
extra : rebase_source : 59f672548e0352ee60774ea87d4426618f050d2e
extra : source : 7cf0689936eb9cb843cb9e94f326e9b4903e843d
2017-07-25 19:52:34 +02:00
Julian Descottes
1738a4ac42 Bug 1387359 - add developer toggle to CustomizableUI even if devtools already loaded;r=nchevobbe
After Bug 1359855, the developer toggle is added to CustomizableUI via devtools-startup.
It is added after browser-delayed-startup-finished is received. However when starting
devtools with --jsconsole, devtools will be initialized before we receive the event and
the toggle will never be added to the UI.

Introducing a new flag here dedicated to the developer toggle and adding a few comments
to the devtools-startup:hookWindow() method which becomes a bit complex now.

MozReview-Commit-ID: IhPFznt0O83

--HG--
extra : rebase_source : d282e39c0588fca29813305292e53e71f93814bd
2017-08-04 11:09:56 +02:00
Julian Descottes
c0c69ebef6 Bug 1386620 - dt-addon-prefs: move devtools.theme preference to devtools-startup-prefs.js;r=bgrins
MozReview-Commit-ID: GOWh7COmCSx

--HG--
extra : rebase_source : 72952b2f7373ac19144711e53342c37dfb2d050d
extra : source : 57dfefe7df235df85d083cca1b43479dc5af3f45
2017-07-25 16:45:08 +02:00
Julian Descottes
54c09394be Bug 1386620 - dt-addon-prefs: move jsonview enabled pref outside of devtools addon;r=ochameau
DevTools preferences are loaded dynamically by calling DevtoolsPreferences.loadPrefs().
We can not preload them when the addon starts, otherwise this will slow down the startup
of Firefox.

But jsonview's converter-observer needs to check preferences to check if jsonview is
enabled very early. Moving devtools.jsonview.enabled to a separate preferences file
that is still processed by firefox fixes the issue.

The downside is that this pref will keep following m-c's release cycle and not the addon's.
But it is so generic it should not be a big issue.


MozReview-Commit-ID: HrD5IVe54Ks

--HG--
extra : rebase_source : bb85aa12ec92db7d11abdb002f0429123b173afd
extra : source : 9622410d90ad264933ee7d1147ed655615ac4a19
2017-07-21 12:27:35 +02:00
Julian Descottes
c18173354b Bug 1386620 - dt-addon: move devtools-startup to devtools shim folder;r=ochameau
MozReview-Commit-ID: GNFAyfXHIa9

--HG--
rename : devtools/client/devtools-startup.js => devtools/shim/devtools-startup.js
rename : devtools/client/devtools-startup.manifest => devtools/shim/devtools-startup.manifest
extra : rebase_source : 32fda4768488b517399d6864c15aa5cbc2639fb6
extra : source : 8d2736d54513382969ba510186860486e66d8b1d
2017-07-20 18:56:39 +02:00
Sebastian Hengst
9d40682893 Backed out changeset d0ed0997f4e0 (bug 1369801)
MozReview-Commit-ID: P1ViGMmdnT
2017-07-27 18:14:48 +02:00
Sebastian Hengst
934f66df50 Backed out changeset a31f0c8450a8 (bug 1369801)
MozReview-Commit-ID: 6jOXOX1WfFy
2017-07-27 18:14:43 +02:00
Sebastian Hengst
12c5c09136 Backed out changeset 082ece5eba4d (bug 1369801)
MozReview-Commit-ID: LinIFYwj1fW

--HG--
rename : devtools/shim/devtools-startup.js => devtools/client/devtools-startup.js
rename : devtools/shim/devtools-startup.manifest => devtools/client/devtools-startup.manifest
2017-07-27 18:14:03 +02:00
Sebastian Hengst
5566c73770 Backed out changeset 71b891583296 (bug 1369801)
MozReview-Commit-ID: A6KDPVjAL8X
2017-07-27 18:13:58 +02:00
Sebastian Hengst
4c2d1c0374 Backed out changeset ad2610a5e6ba (bug 1369801)
MozReview-Commit-ID: 8fzyVFiiN0D
2017-07-27 18:13:29 +02:00