Bug 1356810: Follow-up: Fix SDK worker tests. a=merge

MozReview-Commit-ID: 8ObX3OKozCF

--HG--
extra : source : bf8468e259dce509bfe0c4cc51874a0797932e36
This commit is contained in:
Kris Maglione 2017-04-19 14:10:52 -07:00
parent cb8ce82cca
commit 726576d314

View File

@ -63,7 +63,9 @@ function load(sandbox, uri) {
return evaluate(sandbox, decodeURIComponent(source), '1.8', uri, 0);
} else {
return scriptLoader.loadSubScript(uri, sandbox, 'UTF-8');
return scriptLoader.loadSubScriptWithOptions(uri, {target: sandbox,
charset: 'UTF-8',
wantReturnValue: true});
}
}
exports.load = load;