[Webkit-unassigned] [Bug 85009] ScriptStateProtectedPtr should not keep a strong reference to the context

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 27 06:01:11 PDT 2012


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


Yury Semikhatsky <yurys at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #6 from Yury Semikhatsky <yurys at chromium.org>  2012-04-27 06:01:12 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> If I'm reading this correctly, that code path is only invoked when page is detached, but not when an iframe navigates?

It should be called on navigation as well but as you pointed out offline there is a scenario when we won't clear the argument and return early from ConsoleMessage::windowCleared because of the following code:

if (domWindowFromScriptState(m_arguments->globalState()) != window)
    return;

Reopening the bug.

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