[Webkit-unassigned] [Bug 80519] [BlackBerry] Set ResourceRequest TargetType in WebPagePrivate::load()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 7 11:33:20 PST 2012


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





--- Comment #3 from Nate Chapin <japhet at chromium.org>  2012-03-07 11:33:20 PST ---
(From update of attachment 130653)
View in context: https://bugs.webkit.org/attachment.cgi?id=130653&action=review

> Source/WebCore/loader/FrameLoader.cpp:1223
> +#if PLATFORM(BLACKBERRY)
> +    Frame* loadframe = targetFrame ? targetFrame : frame();
> +    if (loadframe->page()->mainFrame() == loadframe)
> +        request.setTargetType(ResourceRequest::TargetIsMainFrame);
> +    else
> +        request.setTargetType(ResourceRequest::TargetIsSubframe);
> +#endif
> +

Is there any way we can set this somewhere other than FrameLoader, preferably somewhere that doesn't require an #if PLATFORM()? chromium, e.g., does this in its FrameLoaderClientImpl::dispatchWillSendRequest().

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