Граф коммитов

35 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Poirot e563788ea7 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs

--HG--
extra : rebase_source : bb2805652c85d74a3e888326f4afa4b6857afa64
2018-02-07 01:37:36 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08: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
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 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
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
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
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 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
Sebastian Hengst 5566c73770 Backed out changeset 71b891583296 (bug 1369801)
MozReview-Commit-ID: A6KDPVjAL8X
2017-07-27 18:13:58 +02:00
Julian Descottes b188e49fd4 Bug 1369801 - Fix devtools shim test now that devtools resource path is not registered;r=ochameau
MozReview-Commit-ID: 28ArQzFGZ6H

--HG--
extra : rebase_source : bc127d13f832d1acf4f31fcf3f424e57c4765572
2017-07-25 19:52:34 +02:00
Alexandre Poirot 73bb3be2cc Bug 1359855 - Automatically initialize DevTools when accessing DevToolsShim.gDevTools. r=jdescottes
WebExtension tests expect DevTools to be automatically initialized,
they access DevToolsShim.gDevTools.getTargetForTab in order to open DevTools.

MozReview-Commit-ID: 3VQRlxgBkI0

--HG--
extra : rebase_source : 66fe8aeef5314fe06ac59ae025b1321fcc1195fc
2017-07-24 14:30:24 +02:00
Alexandre Poirot 53c9434795 Bug 1359855 - Prevent loading DevTools when saving session restore data. r=jdescottes,mossop
MozReview-Commit-ID: 1d7WmiGRSmp

--HG--
extra : rebase_source : 3bf708a25962a6ec4bbf1b24b89f1758468a0472
2017-07-20 12:38:09 +02:00
Carsten "Tomcat" Book 21c8982ca4 Backed out changeset 2dd30b065030 (bug 1359855) 2017-07-24 12:07:02 +02:00
Alexandre Poirot 0a5d2f6a1c Bug 1359855 - Prevent loading DevTools when saving session restore data. r=jdescottes,mossop
MozReview-Commit-ID: 1d7WmiGRSmp

--HG--
extra : rebase_source : 3bf708a25962a6ec4bbf1b24b89f1758468a0472
2017-07-20 12:38:09 +02:00
Julian Descottes c0bf02c7c5 Bug 1382173 - devtools shim support initialized and installed states;r=ochameau
MozReview-Commit-ID: 4CmfzyLVrM4

--HG--
extra : rebase_source : 372e1f32746e4cc6e2686b9b92848d18ffde576b
extra : source : 8f7664516d49c6013e5fd1cc9e4efd1f0cbab84a
2017-07-19 13:40:53 +02:00
Julian Descottes e698093458 Bug 1372520 - use DevToolsShim to inspectNode in nContextMenu;r=bgrins,mixedpuppy
As devtools become optional, nsContextMenu needs to check if devtools are installed before
displaying the devtools-related menu entries.

Rather than loading devtools classing and calling APIs, use APIs provided by the DevToolsShim,
that will stay in mozilla-central.

MozReview-Commit-ID: CxqabTjhckC

--HG--
extra : rebase_source : 1781edcf11316eab7e95cbab834d1bc3230c44d7
2017-06-14 17:52:50 +02:00
Julian Descottes a7015fc300 Bug 1367425 - Use DevToolsShim in webextensions codebase;r=mixedpuppy
Use DevToolsShim to access devtools APIs from webextensions code.
For webextensions tests using DevTools, tests are accessing DevToolsShim.gDevTools
which is fine for test purposes.

MozReview-Commit-ID: 66gFV98xvpf

--HG--
extra : rebase_source : 05734afae4368c5d7e4682b5fae1b8f3e4417220
2017-05-26 15:48:15 +02:00
Julian Descottes 882c976a5a Bug 1367424 - add shims for addon sdk to DevToolsShim;r=ochameau
Some APIs and methods still used by the addon sdk are not worth exposing
or migrating to mozilla-central given that this is only intended for
release 56 (after that, legacy extensions will no longer be supported).

For those APIs, we create a simple wrapper in DevToolsShim and moved the
implementation to framework/devtools

MozReview-Commit-ID: 8LiiptqO0NI

--HG--
extra : rebase_source : 3e4832bcaffa92d64e9d2490bcc0250bc05573c1
2017-06-06 14:01:32 +02:00
Sebastian Hengst ccf4e450a6 Backed out changeset f972a227ac15 (bug 1367424) for failing test_chrome_ext_hybrid_addons.html on Android. r=backout 2017-06-12 18:25:24 +02:00
Julian Descottes dca07d04dd Bug 1367424 - add shims for addon sdk to DevToolsShim;r=ochameau
Some APIs and methods still used by the addon sdk are not worth exposing
or migrating to mozilla-central given that this is only intended for
release 56 (after that, legacy extensions will no longer be supported).

For those APIs, we create a simple wrapper in DevToolsShim and moved the
implementation to framework/devtools

MozReview-Commit-ID: 8LiiptqO0NI

--HG--
extra : rebase_source : 17685611ae0270afd6b819043b56cda94511a723
2017-06-06 14:01:32 +02:00
Sebastian Hengst 09cf712b58 Backed out changeset 8ecdc6d29e1d (bug 1367424) for failing jetpack's test-dev-panel.js.test Panel API and more. r=backout 2017-06-06 13:03:41 +02:00
Julian Descottes 4cbdadf23f Bug 1367424 - add shims for addon sdk to DevToolsShim;r=ochameau
Some APIs and methods still used by the addon sdk are not worth exposing
or migrating to mozilla-central given that this is only intended for
release 56 (after that, legacy extensions will no longer be supported).

For those APIs, we create a simple wrapper in DevToolsShim and moved the
implementation to framework/devtools

MozReview-Commit-ID: 8LiiptqO0NI

--HG--
extra : rebase_source : 357b503532fed7933a6690418b846c70350c59b9
2017-05-29 18:21:21 +02:00
Julian Descottes e7209cfe2e Bug 1366823 - add Scratchpad manager APIs to DevToolsShim;r=ochameau
MozReview-Commit-ID: 5JsSu9Spkgn

--HG--
extra : rebase_source : 83d93d5168ddb7f4310543ff6d12e0f809d3db87
extra : source : 62e2f83b5992f2117caf4a7f76202437ce6e3d16
2017-05-29 14:50:07 +02:00
Julian Descottes 9abe8798b4 Bug 1356244 - emit registered/unregistered events from DevTools Shim;r=ochameau
MozReview-Commit-ID: HshI3viGq7f

--HG--
extra : rebase_source : 26f9569b9f4819a453f7ee60fda9d963b34ab611
extra : source : fb89c80a02109dcd0822174f6c6eded2ca7a8594
2017-05-17 13:53:53 +02:00
Julian Descottes 52acc63ebc Bug 1356244 - devtools-addon: create low-level DevTools shim for mozilla-central;r=ochameau
MozReview-Commit-ID: KdfomLHgdLY

--HG--
extra : rebase_source : 5fff97798bfe3eeac98c8be12cbcfe6e6177afa8
extra : source : 2d422bec07d3a5bab5d83b4c949f27c6e49be261
2017-05-18 09:12:22 +02:00