Bug 1356810: Follow-up: Fix xpcshell test for async subscript return value.

MozReview-Commit-ID: 2lgw8KzvjBT

--HG--
extra : rebase_source : db0dfd6eaf3dc32f56b25ba319dd797ec1b7b06a
This commit is contained in:
Kris Maglione 2017-04-19 12:07:52 -07:00
parent b609a95faf
commit 32d79e3539

View File

@ -30,6 +30,7 @@ function run_test() {
.getService(Ci.mozIJSSubScriptLoader);
var p = scriptLoader.loadSubScriptWithOptions(uri.spec,
{ target: srvScope,
async: true });
async: true,
wantReturnValue: true });
p.then(success, error);
}