[Webkit-unassigned] [Bug 100235] [V8] Remove ScriptController::windowShell()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 26 05:11:12 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100235





--- Comment #6 from Dan Carney <dcarney at google.com>  2012-10-26 05:12:20 PST ---
Adam, the comments you've made have been addressed. The failing test was timing out because ScriptController::updateDocument() was causing unnecessary calls to v8::Context::New (2X the number needed), which it apparently a very slow process. To fix this I added the below clause:

void ScriptController::updateDocument()
{
    if (!m_frame->loader()->frameHasLoaded())
        return;

I really have no particular idea if this is the correct solution here or if there is a more appropriate check, but this solution at least passes all the tests in debug.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list