[webkit-reviews] review granted: [Bug 46579] Reproducible crash in appcache code when closing pgatour.com : [Attachment 72089] patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 31 18:17:37 PDT 2010
Adam Barth <abarth at webkit.org> has granted Nate Chapin <japhet at chromium.org>'s
request for review:
Bug 46579: Reproducible crash in appcache code when closing pgatour.com
https://bugs.webkit.org/show_bug.cgi?id=46579
Attachment 72089: patch
https://bugs.webkit.org/attachment.cgi?id=72089&action=review
------- Additional Comments from Adam Barth <abarth at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=72089&action=review
> WebCore/loader/FrameLoader.cpp:1219
> +bool FrameLoader::pageDismissalEventBeingDispatchedInAnyFrame() const
> +{
> + for (Frame* frame = m_frame->page()->mainFrame(); frame; frame =
frame->tree()->traverseNext()) {
> + if (frame->loader()->m_pageDismissalEventBeingDispatched)
> + return true;
> + }
> + return false;
> +}
Sigh. Grow FrameLoader! Grow!
> WebCore/loader/CachedResource.h:90
> + static ResourceRequest::TargetType resourceRequestTargetType(Type);
ap thinks we should get rid of ResourceRequest::TargetType.
> WebCore/loader/FrameLoader.h:331
> - bool pageDismissalEventBeingDispatched() const { return
m_pageDismissalEventBeingDispatched; }
> + bool pageDismissalEventBeingDispatchedInAnyFrame() const;
Maybe better on Page?
More information about the webkit-reviews
mailing list