mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1356810
: Follow-up: Fix SDK worker tests. a=merge
MozReview-Commit-ID: 8ObX3OKozCF --HG-- extra : source : bf8468e259dce509bfe0c4cc51874a0797932e36
This commit is contained in:
parent
cb8ce82cca
commit
726576d314
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user