Commit Graph
64 Commits
Author SHA1 Message Date
Julian Descottes 5ff5c03294 Bug 1403489 - remove special loader rule for devtools/shared/platform;r=tromey
MozReview-Commit-ID: HwhAXHm8ipq
2017-09-27 12:38:23 +02:00
Jan Odvarko 043de7eb4d Bug 1395834 - Implement theme loader; r=nchevobbe
MozReview-Commit-ID: 5AR0AX5tTnB
2017-09-14 10:03:26 +02:00
Julian Descottes 0da258c66b Bug 1397296 - remove mappings for gre/modules/commonjs in devtools loaders;r=ochameau
MozReview-Commit-ID: 2l3cJhGs24t
2017-09-06 16:42:48 +02:00
Alexandre Poirot 8572cf8e9b Bug 1392602 - Simplify SDK loader to only match DevTools needs. r=jdescottes
MozReview-Commit-ID: 5MUEmCW6AJM
2017-08-28 14:52:07 +02:00
Alexandre Poirot 236a884c15 Bug 1392602 - Remove descriptor helper in DevTools loader. r=jdescottes
MozReview-Commit-ID: JHC0s0cMyZG
2017-08-28 14:10:18 +02:00
Alexandre Poirot 5b36273f36 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.
2017-08-28 14:05:37 +02:00
Alexandre Poirot a085009b5a 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
2017-08-29 10:49:43 +02:00
Alexandre Poirot 4ab9f6f378 Bug 1392602 - Copy SDK Loader to devtools. r=jdescottes
MozReview-Commit-ID: 6INu38Wqvt
2017-08-24 15:17:33 +02:00
Julian Descottes 122761aa6a Bug 1386616 - dt-addon: move key-shortcuts.properties to devtools/shim/locales;r=ochameau
MozReview-Commit-ID: 9zUqnuYIdWS
2017-08-02 16:20:58 +02:00
Julian Descottes ead972f6c6 Bug 1361333 - move sdk/util/indexed-db to devtools;r=ochameau
MozReview-Commit-ID: Lt4V6kmQACq
2017-07-31 21:55:33 +02:00
Sebastian Hengst f26bf21549 Backed out changeset ad2a532a50f0 (bug 1369801)
MozReview-Commit-ID: DXiSnLmo6zE
2017-07-27 18:14:53 +02:00
Julian Descottes fe6e6017b7 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
2017-07-21 16:05:19 +02:00
Alexandre Poirot bf66c3a620 Bug 1355994 - Stop flagging DevTools sandboxes with an Addon ID. r=kmag
MozReview-Commit-ID: 5aJ5osJIt5i
2017-04-24 11:38:13 +02:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 42670ceca0 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 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Alexandre Poirot 0f5f042bd3 Bug 1320793 - Fix lazy loading of pseudo modules in devtools. r=jryans
MozReview-Commit-ID: 51rH3WBH3dh
2016-11-28 07:43:14 -08:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d 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 d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Alexandre Poirot 0e8e679346 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 96f00c8290 Bug 1287910 - move devtools stack-related APIs to per-platform require; r=jryans
MozReview-Commit-ID: CgT1VGJnJqB
2016-08-05 13:17:17 -06:00
Tom Tromey d88bf1970a Bug 1287915 - support webpack "raw!" requires in devtools loader; r=jryans
MozReview-Commit-ID: 1H6ogaMrZPV
2016-07-28 12:11:42 -06:00
Alexandre Poirot 3fb26aa8a9 Bug 1268073 - Free loader created by BrowserToolboxProcess. r=jryans 2016-06-28 08:39:37 -07:00
J. Ryan Stinnett 169c44d5f6 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 530b903fcf 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 df2c4a3536 Bug 1264625 - Ensure using only invisible modules when opening the browser toolbox. r=jryans 2016-05-12 03:07:56 -07:00
Tom Tromey 3a49936872 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 74de773d2c 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 323443bd29 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 823d7fec9a 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 4302367585 Bug 1261665 - Remove unecessary Loader.jsm main in favor of require(). r=jryans 2016-04-14 01:40:43 -07:00
Alexandre Poirot 1dd77421e8 Bug 1261092 - Simplify gcli initialization/destruction codepaths. r=jryans,jwalker 2016-04-05 07:16:48 -07:00
J. Ryan Stinnett aa69a9e56c 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 afeb2fdd4f Bug 1255266 - create sandbox with system principal. r=jryans,khuey.
MozReview-Commit-ID: LZRA24MRp1K
2016-03-15 19:51:02 +08:00
Tom Tromey 63188a332e 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 caeafc3079 Bug 1247203 - Do not hardcode main module path in Loader.jsm. r=jryans 2016-03-04 07:51:12 -08:00
Alexandre Poirot 0cb978147c Bug 1247203 - Remove useless call to main(). r=jryans 2016-03-04 07:51:11 -08:00
Alexandre Poirot 35e223ae7d Bug 1247203 - Emit devtools-loaded from the loader. r=jryans 2016-03-04 07:51:11 -08:00
Jan Keromnes f5b184d14d Bug 1209699 - Add a 'Push' button for service workers in about:debugging. r=jdescottes 2016-02-29 03:20:00 +01:00
Alexandre Poirot c260276972 Bug 1250430 - Remove SrcDir loader support from devtools. r=jryans 2016-02-27 04:51:11 -08:00
Eddy Bruel 521f042ad3 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 0115eea3f2 Bug 1240494 - AMD support for DevTools loaders. r=jwalker,Honza
MozReview-Commit-ID: 7IemsaijHNc
2016-02-17 07:00:09 -06:00
Alexandre Poirot dd50d192f7 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 c278a0c6db Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Alexandre Poirot f10206d1f9 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-10 02:34:59 -08:00
Brian Grinstead 12eda8cf9d Backed out changeset 16a675e05315 for breaking the browser toolbox on CLOSED TREE (bug 1188405) 2016-02-04 10:38:29 -08:00
Alexandre Poirot 32285942b1 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).
2016-02-04 02:20:56 -08:00