mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 355430 - Fix rooting issue on CLOSED TREE
This commit is contained in:
parent
32435b8674
commit
15c66feed1
@ -343,7 +343,8 @@ IndexedDatabaseManager::FireWindowOnError(nsPIDOMWindow* aOwner,
|
||||
error->GetName(errorName);
|
||||
}
|
||||
|
||||
ErrorEventInit init;
|
||||
ThreadsafeAutoJSContext cx;
|
||||
RootedDictionary<ErrorEventInit> init(cx);
|
||||
request->FillScriptErrorEvent(init);
|
||||
|
||||
init.mMessage = errorName;
|
||||
|
Loading…
Reference in New Issue
Block a user