gecko-dev/caps/tests/mochitest
Andrew McCreight bfd580fb71 Bug 1186409 - Use Cu.getGlobalForObject when importing properties off a JSM global. r=kmag
With JSM global sharing, the object returned by Cu.import() is a
NonSyntacticVariablesObject, rather than a global. Various code tries
to use properties from a JSM global via an import.

Cu.importGlobalProperties can also be used in some places.

MozReview-Commit-ID: HudCXO2GKN0

--HG--
extra : rebase_source : 6b5fa6f5509397504cb461a761f6cc2399f18c40
2017-06-23 13:51:14 -07:00
..
.eslintrc.js
browser.ini
browser_checkloaduri.js Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
chrome.ini bug 1384701 get system fonts in EnsureInit() which is on main thread even with servo r=manishearth 2017-09-04 18:29:04 +12:00
file_bug1367586-followon.html
file_bug1367586-redirect.sjs
file_bug1367586-target.html
file_data.txt
file_disableScript.html
mochitest.ini
resource_test_file.html
test_addonMayLoad.html Bug 1186409 - Use Cu.getGlobalForObject when importing properties off a JSM global. r=kmag 2017-06-23 13:51:14 -07:00
test_bug246699.html
test_bug292789.html Bug 863246 - Fix test failures r=Gijs 2017-07-19 17:30:01 +08:00
test_bug423375.html
test_bug470804.html
test_bug995943.xul
test_bug1367586.html
test_disableScript.xul Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
test_disallowInheritPrincipal.html
test_extensionURL.html Bug 1186409 - Use Cu.getGlobalForObject when importing properties off a JSM global. r=kmag 2017-06-23 13:51:14 -07:00