WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 49764
[chromium] Add a mechanism for creating a WebURLLoader that is associated with a particular WebFrame
https://bugs.webkit.org/show_bug.cgi?id=49764
Summary
[chromium] Add a mechanism for creating a WebURLLoader that is associated wit...
Darin Fisher (:fishd, Google)
Reported
2010-11-18 15:15:50 PST
[chromium] Add a mechanism for creating a WebURLLoader that is associated with a particular WebFrame This will be used by code that calls webKitClient()->createURLLoader() from within the Chromium source tree. An associated WebURLLoader should be treated like a subresource of the WebFrame's document. In a follow-up version, I will build AssociatedURLLoader on top of WebCore::SubresourceLoader, but for now, I'm just moving code from Chromium's repository into WebKit.
Attachments
v1 patch
(11.03 KB, patch)
2010-11-18 15:17 PST
,
Darin Fisher (:fishd, Google)
no flags
Details
Formatted Diff
Diff
v2 patch
(11.09 KB, patch)
2010-11-18 17:02 PST
,
Darin Fisher (:fishd, Google)
dglazkov
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Darin Fisher (:fishd, Google)
Comment 1
2010-11-18 15:17:02 PST
Created
attachment 74300
[details]
v1 patch
Michael Nordman
Comment 2
2010-11-18 16:12:10 PST
Comment on
attachment 74300
[details]
v1 patch View in context:
https://bugs.webkit.org/attachment.cgi?id=74300&action=review
This looks ok to me.
> WebKit/chromium/public/WebFrame.h:335 > + // will, for example, be cancelled when WebFrame::stopLoading is called.
Until this is implemented in terms of SubresourceLoader, they'll run beyond stopLoading (i think). If that right maybe add a FIXME here to clarify the current behavior.
> WebKit/chromium/src/AssociatedURLLoader.h:50 > + virtual void loadSynchronously(const WebURLRequest&, WebURLResponse&, WebURLError&, WebData& data);
No need for 'data' param name.
Darin Fisher (:fishd, Google)
Comment 3
2010-11-18 17:02:39 PST
Created
attachment 74322
[details]
v2 patch Thanks for the feedback Michael!
Dimitri Glazkov (Google)
Comment 4
2010-11-23 09:16:46 PST
Comment on
attachment 74322
[details]
v2 patch View in context:
https://bugs.webkit.org/attachment.cgi?id=74322&action=review
nit-nit
> WebKit/chromium/src/AssociatedURLLoader.cpp:79 > +void AssociatedURLLoader::PrepareRequest(WebURLRequest& request)
prepareRequest? :)
Darin Fisher (:fishd, Google)
Comment 5
2010-11-23 10:59:47 PST
Landed as
http://trac.webkit.org/changeset/72616
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug