mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 868369 - don't ever create JSDScripts for self-hosted scripts. r=sfink
--HG-- extra : rebase_source : 2104e9dca9c05c158e78a0ba740227e4a190e125
This commit is contained in:
parent
25d9239461
commit
b733362072
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user