Bug 1009603: Set filename for asm.js scripts with dynamic linking failures; r=h4writer

This commit is contained in:
Benjamin Bouvier 2014-05-14 15:52:04 +02:00
parent d27ab5aa52
commit a5d8d4b3b6

View File

@ -585,6 +585,7 @@ HandleDynamicLinkFailure(JSContext *cx, CallArgs args, AsmJSModule &module, Hand
CompileOptions options(cx);
options.setOriginPrincipals(module.scriptSource()->originPrincipals())
.setFile(module.scriptSource()->filename())
.setCompileAndGo(false)
.setNoScriptRval(false);