Bug 81421 - [Chromium] Add registerURLSchemeAsEmptyDocument to WebSecurityPolicy
Summary: [Chromium] Add registerURLSchemeAsEmptyDocument to WebSecurityPolicy
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Charles Reis
Depends on:
Reported: 2012-03-16 15:27 PDT by Charles Reis
Modified: 2012-03-19 21:47 PDT (History)
3 users (show)

See Also:

Patch (2.48 KB, patch)
2012-03-16 15:48 PDT, Charles Reis
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Reis 2012-03-16 15:27:28 PDT
We've found a need to register a new scheme as only containing empty documents, to allow its URLs to commit synchronously.  We can use WebSecurityPolicy to simply pass the call through to SchemeRegistry.

For context, see http://crbug.com/118664.
Comment 1 Charles Reis 2012-03-16 15:48:22 PDT
Created attachment 132407 [details]
Comment 2 WebKit Review Bot 2012-03-16 15:50:57 PDT
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
Comment 3 Adam Barth 2012-03-16 15:56:22 PDT
Comment on attachment 132407 [details]

Ok.  Interesting that this doesn't work on PLATFORM(TORCHMOBILE)
Comment 4 Darin Fisher (:fishd, Google) 2012-03-19 11:02:55 PDT
Comment 5 WebKit Review Bot 2012-03-19 21:47:39 PDT
Comment on attachment 132407 [details]

Clearing flags on attachment: 132407

Committed r111350: <http://trac.webkit.org/changeset/111350>
Comment 6 WebKit Review Bot 2012-03-19 21:47:44 PDT
All reviewed patches have been landed.  Closing bug.