Bug 26029 - FrameLoader::canLoad should allow calls with just a security origin
Summary: FrameLoader::canLoad should allow calls with just a security origin
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: David Levin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-26 14:11 PDT by David Levin
Modified: 2009-05-27 12:04 PDT (History)
1 user (show)

See Also:


Attachments
Proposed fix. (2.79 KB, patch)
2009-05-26 14:54 PDT, David Levin
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Levin 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.
Comment 1 David Levin 2009-05-26 14:19:05 PDT
Specifically, I need this for use in a (chromium specific) loader that doesn't use a Frame.
Comment 2 David Levin 2009-05-26 14:54:13 PDT
Created attachment 30683 [details]
Proposed fix.
Comment 3 Maciej Stachowiak 2009-05-27 00:28:06 PDT
Comment on attachment 30683 [details]
Proposed fix.

r=me
Comment 4 David Levin 2009-05-27 12:04:45 PDT
Committed as http://trac.webkit.org/changeset/44195