Commit Graph
10 Commits
Author SHA1 Message Date
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 fed7b94a29 Bug 1392602 - Stop using unnecessary const in Devtools loader. r=jdescottes
MozReview-Commit-ID: GMn8eoGUxkb
2017-08-28 14:23:57 +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 b741f7d6aa Bug 1392602 - Instanciate RegExp only once in DevTools loader. r=jdescottes
MozReview-Commit-ID: GGYMPKZwBsS
2017-08-28 14:05:17 +02:00
Alexandre Poirot a7237f1f6b Bug 1392602 - Remove evaluate function from DevTools loader. r=jdescottes
MozReview-Commit-ID: MGXxIWUxWF
2017-08-28 14:01:34 +02:00
Alexandre Poirot 24be858f90 Bug 1392602 - Stop freezing everything in DevTools loader. r=jdescottes
MozReview-Commit-ID: ANdgiYjfV6N
2017-08-28 11:43:43 +02:00
Alexandre Poirot c17331dfc9 Bug 1392602 - Remove jetpack specifics from DevTools loader. r=jdescottes
* Remove notion of "main" module
* Remove notion of "isNative" and only use Loader.resolve algorithm

MozReview-Commit-ID: 7GOJELAh375
2017-08-28 11:27:07 +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