Julian Descottes
0702847ccf
Bug 1403489 - remove special loader rule for devtools/shared/platform;r=tromey
...
MozReview-Commit-ID: HwhAXHm8ipq
--HG--
rename : devtools/shared/platform/content/.eslintrc.js => devtools/client/shared/webpack/shims/.eslintrc.js
rename : devtools/shared/platform/content/moz.build => devtools/client/shared/webpack/shims/moz.build
rename : devtools/shared/platform/content/clipboard.js => devtools/client/shared/webpack/shims/platform-clipboard-stub.js
rename : devtools/shared/platform/content/stack.js => devtools/client/shared/webpack/shims/platform-stack-stub.js
rename : devtools/shared/platform/content/test/.eslintrc.js => devtools/client/shared/webpack/shims/test/.eslintrc.js
rename : devtools/shared/platform/content/test/mochitest.ini => devtools/client/shared/webpack/shims/test/mochitest.ini
rename : devtools/shared/platform/content/test/test_clipboard.html => devtools/client/shared/webpack/shims/test/test_clipboard.html
rename : devtools/shared/platform/content/test/test_stack.js => devtools/client/shared/webpack/shims/test/test_stack.js
rename : devtools/shared/platform/content/test/xpcshell.ini => devtools/client/shared/webpack/shims/test/xpcshell.ini
rename : devtools/shared/platform/chrome/clipboard.js => devtools/shared/platform/clipboard.js
rename : devtools/shared/platform/chrome/stack.js => devtools/shared/platform/stack.js
extra : rebase_source : d233c0d5b4691f595ec61cae52167921f57ee942
2017-09-27 12:38:23 +02:00
Jan Odvarko
74d658a4f8
Bug 1395834 - Implement theme loader; r=nchevobbe
...
MozReview-Commit-ID: 5AR0AX5tTnB
--HG--
extra : rebase_source : dcb5f41efa3cd17f88aa498c1ac53bac128310dd
2017-09-14 10:03:26 +02:00
Julian Descottes
e3f444304a
Bug 1397296 - remove mappings for gre/modules/commonjs in devtools loaders;r=ochameau
...
MozReview-Commit-ID: 2l3cJhGs24t
--HG--
extra : rebase_source : f4f21be37d9775929c7420574d5cca61ada4308b
2017-09-06 16:42:48 +02:00
Alexandre Poirot
e113bfb7cf
Bug 1392602 - Simplify SDK loader to only match DevTools needs. r=jdescottes
...
MozReview-Commit-ID: 5MUEmCW6AJM
--HG--
extra : rebase_source : ea4a9f9332cadbc950f2151ffab5f70ee7529cbc
2017-08-28 14:52:07 +02:00
Alexandre Poirot
f55f10299c
Bug 1392602 - Remove `descriptor` helper in DevTools loader. r=jdescottes
...
MozReview-Commit-ID: JHC0s0cMyZG
--HG--
extra : rebase_source : d4ad7492fbcd5491117912be27a7770b50c8eb49
2017-08-28 14:10:18 +02:00
Alexandre Poirot
43910cc65b
Bug 1392602 - Remove `override` helper in DevTools loader. r=jdescottes
...
MozReview-Commit-ID: E2dNIMoa2wz
Also get rid of shared global blocklist as this isn't used by DevTools.
--HG--
extra : rebase_source : 99522f4e804e59a233f51c4710645ec24de9eb2e
2017-08-28 14:05:37 +02:00
Alexandre Poirot
71e4f1790c
Bug 1392602 - Remove module boilerplate from DevTools loader. r=jdescottes
...
This file is now only loaded as a JSM.
Expose symbols directly instead of putting them on `Loader` symbol.
No longer exports it as a fake 'toolkit/loader' module and always import it as JSM.
MozReview-Commit-ID: 6J3IxHpk9ct
--HG--
extra : rebase_source : f6ef6aef6d8682f18950a9b22d259347644250f2
2017-08-29 10:49:43 +02:00
Alexandre Poirot
67e0287de3
Bug 1392602 - Copy SDK Loader to devtools. r=jdescottes
...
MozReview-Commit-ID: 6INu38Wqvt
--HG--
extra : rebase_source : b140f8932bf141abae29f42a13dc4eef58a84d6f
2017-08-24 15:17:33 +02: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
dc05133f8b
Bug 1361333 - move sdk/util/indexed-db to devtools;r=ochameau
...
MozReview-Commit-ID: Lt4V6kmQACq
--HG--
extra : rebase_source : 80bdaa517bdfa6863f963c7ed8a5275ba7415c18
2017-07-31 21:55:33 +02:00
Sebastian Hengst
2a5827b866
Backed out changeset ad2a532a50f0 (bug 1369801
)
...
MozReview-Commit-ID: DXiSnLmo6zE
2017-07-27 18:14:53 +02:00
Julian Descottes
346099c99a
Bug 1369801
- dt-addon-prefs: load DevTools prefs when starting Loader.jsm;r=ochameau
...
DevTools should not execute any code on the browser startup. Loading preferences takes
a non negligeable time and should be deferred to the devtools initialization.
For all devtools entry points, Loader.jsm is always loaded first, so it is safe to
load the preferences here.
MozReview-Commit-ID: Hg4VBj2LqPo
--HG--
extra : rebase_source : 86bfef7e13ecf52b9b8c761fbf7352af42a6bced
2017-07-21 16:05:19 +02:00
Alexandre Poirot
f131594dd6
Bug 1355994 - Stop flagging DevTools sandboxes with an Addon ID. r=kmag
...
MozReview-Commit-ID: 5aJ5osJIt5i
--HG--
extra : rebase_source : b37230366178f5dbaf10263dcedb55eec7a838f1
2017-04-24 11:38:13 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
cb76f56d60
Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout
2017-01-11 23:21:56 +01:00
Tim Nguyen
d7ea1c1605
Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
...
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Alexandre Poirot
0299dcddf3
Bug 1320793 - Fix lazy loading of pseudo modules in devtools. r=jryans
...
MozReview-Commit-ID: 51rH3WBH3dh
--HG--
extra : rebase_source : 0468dc9fe0713a3605db073ee10424cff8482f66
2016-11-28 07:43:14 -08:00
Tom Tromey
1fc208e8d8
Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
...
MozReview-Commit-ID: 6OSszbKpp74
--HG--
extra : rebase_source : 475b4a2de10d65cadd6198e49e5ff5cfb4e9b871
2016-10-25 21:30:18 -06:00
Wes Kocher
41f7647994
Backed out 2 changesets (bug 1312041) for mass failures a=backout
...
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey
966cb8ff85
Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
...
MozReview-Commit-ID: 6OSszbKpp74
--HG--
extra : rebase_source : ced0ac04663356c2e2ce315d09b5cf0e27617b4e
2016-10-25 21:30:18 -06:00
Alexandre Poirot
cd8a9d4257
Bug 1303268 - Package acorn lib with same path as sources to fix hot reload. r=pbro
...
MozReview-Commit-ID: 32WuvqluuiU
2016-09-19 10:27:31 -07:00
Tom Tromey
39f7f2c862
Bug 1287910 - move devtools stack-related APIs to per-platform require; r=jryans
...
MozReview-Commit-ID: CgT1VGJnJqB
--HG--
extra : rebase_source : 14c52fe412675d9442d8d723cc3e8da55b169079
2016-08-05 13:17:17 -06:00
Tom Tromey
dcacc7afac
Bug 1287915 - support webpack "raw!" requires in devtools loader; r=jryans
...
MozReview-Commit-ID: 1H6ogaMrZPV
--HG--
extra : rebase_source : b5e35bb035a2bf9927d4ee6416e4b8b86c38006b
2016-07-28 12:11:42 -06:00
Alexandre Poirot
250e55dddb
Bug 1268073 - Free loader created by BrowserToolboxProcess. r=jryans
2016-06-28 08:39:37 -07:00
J. Ryan Stinnett
ca7fb511f8
Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
...
A few miscellaneous linting issues also addressed near the lines involved.
MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
J. Ryan Stinnett
30b2b7ce44
Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
...
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.
To generate this patch, I ran:
./mach eslint devtools --no-ignore --fix
After this, I reverted any changes to third party files that we really do want
to ignore.
MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Alexandre Poirot
0bd5f270a3
Bug 1264625 - Ensure using only invisible modules when opening the browser toolbox. r=jryans
2016-05-12 03:07:56 -07:00
Tom Tromey
08f3ad3f7b
Bug 1265876 - don't directly use Timer.jsm or timers.js in devtools; r=ochameau
...
MozReview-Commit-ID: HzbnNvTc5db
2016-05-04 08:02:03 -06:00
Carsten "Tomcat" Book
bba206d411
Backed out changeset 797e8190073f (bug 1265876) for memory leaks in browser_markup_mutation_02.js
2016-04-28 08:13:42 +02:00
Tom Tromey
ed07ccffa3
Bug 1265876 - don't directly use Timer.jsm or timers.js in devtools; r=ochameau
...
MozReview-Commit-ID: HzbnNvTc5db
2016-04-21 11:20:14 -06:00
Alexandre Poirot
c0d0fa5173
Bug 1263629 - Use promise module invisible to the debugger for the browser toolbox server. r=jryans
2016-04-14 14:32:21 -07:00
Alexandre Poirot
2304fa0495
Bug 1261665 - Remove unecessary Loader.jsm main in favor of require(). r=jryans
2016-04-14 01:40:43 -07:00
Alexandre Poirot
e6645862ac
Bug 1261092 - Simplify gcli initialization/destruction codepaths. r=jryans,jwalker
2016-04-05 07:16:48 -07:00
J. Ryan Stinnett
df00956606
Bug 1240804 - Use common instance of Promise.jsm for test harness promise rejection handling. r=ochameau
...
MozReview-Commit-ID: 61y0npnHyyU
2016-03-31 19:46:14 -05:00
Shih-Chiang Chien
b9e0dc0161
Bug 1255266 - create sandbox with system principal. r=jryans,khuey.
...
MozReview-Commit-ID: LZRA24MRp1K
--HG--
extra : rebase_source : 3cb57e131321848da764e26b3741443f91acb003
2016-03-15 19:51:02 +08:00
Tom Tromey
ca928d3839
Bug 1255827 - Put loader-defined globals in devtools/.eslintrc. r=jryans
...
MozReview-Commit-ID: BkNfuA4Dotj
2016-03-11 09:19:00 -05:00
Alexandre Poirot
a65ec348c1
Bug 1247203 - Do not hardcode main module path in Loader.jsm. r=jryans
2016-03-04 07:51:12 -08:00
Alexandre Poirot
a31928ec8f
Bug 1247203 - Remove useless call to main(). r=jryans
2016-03-04 07:51:11 -08:00
Alexandre Poirot
8e3356b5c8
Bug 1247203 - Emit devtools-loaded from the loader. r=jryans
2016-03-04 07:51:11 -08:00
Jan Keromnes
f38239f17f
Bug 1209699 - Add a 'Push' button for service workers in about:debugging. r=jdescottes
2016-02-29 03:20:00 +01:00
Alexandre Poirot
87ddc644c6
Bug 1250430 - Remove SrcDir loader support from devtools. r=jryans
2016-02-27 04:51:11 -08:00
Eddy Bruel
e47fd356ef
Bug 1247192 - Replace all usage of Services in TabSources with URL;r=fitzgen,jryans
2016-02-17 14:33:45 +01:00
J. Ryan Stinnett
7db57df8eb
Bug 1240494 - AMD support for DevTools loaders. r=jwalker,Honza
...
MozReview-Commit-ID: 7IemsaijHNc
2016-02-17 07:00:09 -06:00
Alexandre Poirot
b02c5b4832
Bug 1247270
- Ensure reloading every devtools-related documents when hitting the reload shortcut. r=jryans
2016-02-16 07:23:56 -08:00
Alexandre Poirot
51759742d1
Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans
2016-02-11 04:29:47 -08:00
Alexandre Poirot
b151ff9a3a
Bug 1188405 - Convert gDevTools/gDevToolsBrowser into modules. r=jryans
...
gDevTools.jsm isn't properly reloadable as JSM as meant to be long-lived singletons.
Also, it contains browser related code (gDevToolsBrowser) mixed with more generic one (gDevTools).
This move is going to help hot reloading devtools codebase while improve readability of
one of our core piece of code (devtools startup and browser hooks).
--HG--
rename : devtools/client/framework/gDevTools.jsm => devtools/client/framework/devtools-browser.js
--HG--
rename : devtools/client/framework/gDevTools.jsm => devtools/client/framework/devtools-browser.js
2016-02-10 02:34:59 -08:00
Brian Grinstead
3b7a263008
Backed out changeset 16a675e05315 for breaking the browser toolbox on CLOSED TREE (bug 1188405)
...
--HG--
extra : commitid : BwEGym77VMS
2016-02-04 10:38:29 -08:00
Alexandre Poirot
8178c87f2b
Bug 1188405 - Convert gDevTools/gDevToolsBrowser into modules. r=jryans
...
gDevTools.jsm isn't properly reloadable as JSM as meant to be long-lived singletons.
Also, it contains browser related code (gDevToolsBrowser) mixed with more generic one (gDevTools).
This move is going to help hot reloading devtools codebase while improve readability of
one of our core piece of code (devtools startup and browser hooks).
--HG--
rename : devtools/client/framework/gDevTools.jsm => devtools/client/framework/devtools-browser.js
2016-02-04 02:20:56 -08:00