RESOLVED INVALID 77871
Using V8 ScriptControllerQt does not refresh the qtScriptEngine after new context creation
https://bugs.webkit.org/show_bug.cgi?id=77871
Summary Using V8 ScriptControllerQt does not refresh the qtScriptEngine after new con...
Benjamin Owe
Reported 2012-02-06 07:14:00 PST
ScriptController::clearWindowShell should also clear the m_qtScriptEngine: #if PLATFORM(QT) m_qtScriptEngine.clear(); #endif Else, consecutive calls to QWebFrame::evaluateJavaScript fails, due to the fact, that after calling QWebFrame::load the m_qtScriptEngine is not cleared.
Attachments
Proposed patch to fix the bug (605 bytes, patch)
2012-02-09 03:28 PST, Benjamin Owe
no flags
Benjamin Owe
Comment 1 2012-02-09 03:28:39 PST
Created attachment 126271 [details] Proposed patch to fix the bug
Note You need to log in before you can comment on or make changes to this bug.