gecko-dev/devtools/client/dom
Alexandre Poirot 4d50ab07c7 Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART3: Manual fixes
- Go manually fix: http://searchfox.org/mozilla-central/source/devtools/client/dom/dom-panel.js
  which has duplicated import of defer symbol (it already used to import it)
- execute eslint, see all the places where we import of 'promise' is no longer use it
  (there may be leftovers not covered by eslint that will be covered in bug 1387128)
  devtools/server/tests/mochitest/inspector-helpers.js needs to keep importing promise as it is a shared test script.
- fix devtools/client/performance/panel.js and devtools/client/webconsole/console-output.js
  which use loader.lazyRequireGetter(this, "promise") and miss the defer import
- fix devtools/server/worker.js to use 'worker.require(devtools/shared/defer")'

MozReview-Commit-ID: HIOB5Et87Wc

--HG--
extra : rebase_source : fe3bff8599807224fd51898e753589d4c7c1777f
2017-08-08 15:19:56 +02:00
..
content Bug 1358103 - Remove createFactory call on Reps; r=jdescottes 2017-04-21 08:50:24 +02:00
test Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
.eslintrc.js Bug 1316096 - Change eslint configuration to use string values for rules instead of integers, making it easier for others who are reading the rules to know if a rule is set to off, warn, or error. r=mossop 2016-11-08 15:14:19 -05:00
dom-panel.js Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey 2017-08-08 15:19:56 +02:00
dom.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
main.js Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans 2016-10-25 21:30:18 -06:00
moz.build Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans 2017-01-13 08:40:35 -05:00