Bug 26029

Summary: FrameLoader::canLoad should allow calls with just a security origin
Product: WebKit Reporter: David Levin <levin>
Component: Page LoadingAssignee: David Levin <levin>
Status: RESOLVED FIXED    
Severity: Normal CC: mjs
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed fix. mjs: review+

David Levin
Reported 2009-05-26 14:11:59 PDT
FrameLoader::canLoad uses a Document but a SecurityOrigin would work as well and be useful in case the caller doesn't have access to a Document.
Attachments
Proposed fix. (2.79 KB, patch)
2009-05-26 14:54 PDT, David Levin
mjs: review+
David Levin
Comment 1 2009-05-26 14:19:05 PDT
Specifically, I need this for use in a (chromium specific) loader that doesn't use a Frame.
David Levin
Comment 2 2009-05-26 14:54:13 PDT
Created attachment 30683 [details] Proposed fix.
Maciej Stachowiak
Comment 3 2009-05-27 00:28:06 PDT
Comment on attachment 30683 [details] Proposed fix. r=me
David Levin
Comment 4 2009-05-27 12:04:45 PDT
Note You need to log in before you can comment on or make changes to this bug.