You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WebCore::ScriptController::currentWorldContext() would get the last entered context instead of current context to search for the DOMWindow object, which would cause crash when using third party native modules sometimes, because unlike node's code, third party module usually do not bother switching contexts when calling a callback function in V8.
As workaround, we could switch to the web page's context when there was one before executing the uv loop, currently the uv loop is just wrapped by a custom context.
The
WebCore::ScriptController::currentWorldContext()
would get the last entered context instead of current context to search for the DOMWindow object, which would cause crash when using third party native modules sometimes, because unlike node's code, third party module usually do not bother switching contexts when calling a callback function in V8.The text was updated successfully, but these errors were encountered: