Changeset 98386 in webkit
- Timestamp:
- Oct 25, 2011, 1:38:25 PM (15 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/API/mac/WKBrowsingContextController.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r98369 r98386 1 2011-10-25 Sam Weinig <sam@webkit.org> 2 3 Make loadFileURL:restrictToFilesWithin: work, albeit, without the correct 4 restrictions for now. 5 6 Reviewed by Anders Carlsson. 7 8 * UIProcess/API/mac/WKBrowsingContextController.mm: 9 (-[WKBrowsingContextController loadFileURL:restrictToFilesWithin:]): 10 1 11 2011-10-25 Anders Carlsson <andersca@apple.com> 2 12 -
trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm
r98311 r98386 100 100 - (void)loadFileURL:(NSURL *)URL restrictToFilesWithin:(NSURL *)allowedDirectory 101 101 { 102 /* FIXME: Implement. */ 102 if (![URL isFileURL]) 103 return; 104 105 /* FIXME: Implement restrictions. */ 106 107 WKRetainPtr<WKURLRef> wkURL = adoptWK(WKURLCreateWithCFURL((CFURLRef)URL)); 108 WKPageLoadURL(self.pageRef, wkURL.get()); 103 109 } 104 110
Note:
See TracChangeset
for help on using the changeset viewer.