mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Merge bustage, part 3.
This commit is contained in:
parent
204ee64b1c
commit
94b6346826
@ -105,8 +105,7 @@ XPCJSStackFrame::CreateStack(JSContext* cx, XPCJSStackFrame** stack)
|
||||
for (size_t i = 0; i < desc->nframes && self; i++) {
|
||||
self->mLanguage = nsIProgrammingLanguage::JAVASCRIPT;
|
||||
|
||||
JS::AutoEnterScriptCompartment ac;
|
||||
if (ac.enter(cx, desc->frames[i].script)) {
|
||||
JS::AutoCompartment ac(cx, desc->frames[i].script);
|
||||
const char* filename = JS_GetScriptFilename(cx, desc->frames[i].script);
|
||||
if (filename) {
|
||||
self->mFilename = (char*)
|
||||
|
Loading…
Reference in New Issue
Block a user