[Webkit-unassigned] [Bug 109852] ASSERTION FAILED: !callFrame->hadException() on detik.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 19 11:55:49 PST 2013


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


Yong Li <yoli at rim.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yoli at rim.com




--- Comment #5 from Yong Li <yoli at rim.com>  2013-02-19 11:58:12 PST ---
(In reply to comment #4)
> I can't confirm now, because the site always crashes with an assertion, d->m_defersLoading != defers.

This usually means some JS activities were executed when page is being deferred.

I usually use this ASSERT to catch them

bool ScriptController::canExecuteScripts(ReasonForCallingCanExecuteScripts reason)
{
    ...
    if (!allowed && reason == AboutToExecuteScript)
        m_frame->loader()->client()->didNotAllowScript();
+    if (allowed && reason == AboutToExecuteScript && m_frame->page()->defersLoading())
+        CRASH();
    return allowed;
}

Both Bug 107453 and Bug 107954 can cause such issue

-- 
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