Bug 868369 - don't ever create JSDScripts for self-hosted scripts. r=sfink

--HG--
extra : rebase_source : 2104e9dca9c05c158e78a0ba740227e4a190e125
This commit is contained in:
Till Schneidereit 2013-05-06 19:17:38 +02:00
parent 25d9239461
commit b733362072

View File

@ -62,6 +62,9 @@ _newJSDScript(JSDContext* jsdc,
JSContext *cx,
JSScript *script)
{
if ( JS_GetScriptIsSelfHosted(script) )
return NULL;
JSDScript* jsdscript;
unsigned lineno;
const char* raw_filename;