WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
85574
Treat drive: schema as unique origin schema
https://bugs.webkit.org/show_bug.cgi?id=85574
Summary
Treat drive: schema as unique origin schema
Zelidrag Hornung
Reported
2012-05-03 20:22:06 PDT
Google Drive assets on ChromeOS are exposed via drive://... schema. We need to treat these URLs as unique origin in order to prevent all XHR requests within this schema.
Attachments
Added chromium drive: schema to the list of unique origin schemas.
(1.20 KB, patch)
2012-05-03 20:31 PDT
,
Zelidrag Hornung
abarth
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Zelidrag Hornung
Comment 1
2012-05-03 20:31:24 PDT
Created
attachment 140152
[details]
Added chromium drive: schema to the list of unique origin schemas.
Adam Barth
Comment 2
2012-05-03 20:52:30 PDT
Comment on
attachment 140152
[details]
Added chromium drive: schema to the list of unique origin schemas. There is a WebKit API for adding schemes to this list. You should add the scheme from the Chromium side.
Adam Barth
Comment 3
2012-05-03 20:53:51 PDT
http://trac.webkit.org/browser/trunk/Source/WebKit/chromium/public/WebSecurityPolicy.h#L49
If you grep the Chromium side, you'll see where we register these sorts of schemes.
Zelidrag Hornung
Comment 4
2012-05-03 21:53:24 PDT
found chromium code pointed out by Adam, moving the registration there
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