[Webkit-unassigned] [Bug 48476] ResourceRequest targetType set to Subresource for main frame and subframe loads

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 27 15:35:13 PDT 2010


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





--- Comment #2 from Adam Barth <abarth at webkit.org>  2010-10-27 15:35:12 PST ---
(From update of attachment 72095)
View in context: https://bugs.webkit.org/attachment.cgi?id=72095&action=review

> WebCore/loader/FrameLoader.cpp:178
> +    Page* page = frame->page();
> +    if (page && frame == page->mainFrame())

I'm not sure this is the right way to test this condition.  Maybe try frame->tree()->parent() is null?  You'll have to test what happens with a detached frame.

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