Bug 87174 - [WK2] Let the client give local files universal access on a case by case basis
Summary: [WK2] Let the client give local files universal access on a case by case basis
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-05-22 15:22 PDT by Alexey Proskuryakov
Modified: 2012-05-24 11:45 PDT (History)
3 users (show)

See Also:


Attachments
proposed patch (11.27 KB, patch)
2012-05-22 15:28 PDT, Alexey Proskuryakov
mjs: review+
webkit-ews: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2012-05-22 15:22:03 PDT
Even when universal access from file URLs is not allowed with a preference, we may want to give it to specific safe files. The logic would be highly client specific, so it's best to have a callback.

<rdar://problem/11024330>
Comment 1 Alexey Proskuryakov 2012-05-22 15:28:51 PDT
Created attachment 143378 [details]
proposed patch
Comment 2 Adam Barth 2012-05-22 15:34:17 PDT
Comment on attachment 143378 [details]
proposed patch

Document.cpp changes look fine.
Comment 3 Early Warning System Bot 2012-05-22 15:59:01 PDT
Comment on attachment 143378 [details]
proposed patch

Attachment 143378 [details] did not pass qt-wk2-ews (qt):
Output: http://queues.webkit.org/results/12770014
Comment 4 Maciej Stachowiak 2012-05-23 18:12:29 PDT
Comment on attachment 143378 [details]
proposed patch

r=me
Comment 5 Alexey Proskuryakov 2012-05-24 11:45:42 PDT
Committed <http://trac.webkit.org/changeset/118397>.