Changeset 242390 in webkit
- Timestamp:
- Mar 4, 2019, 1:59:09 PM (7 years ago)
- Location:
- tags/Safari-608.1.7.1.1/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebPage/WebPage.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/Safari-608.1.7.1.1/Source/WebKit/ChangeLog
r242082 r242390 1 2019-03-04 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r242376. rdar://problem/47820581 4 5 Correctly handle sandbox extensions when the same WKWebView loads multiple file:// URLs. 6 <rdar://problem/47820581> and https://bugs.webkit.org/show_bug.cgi?id=195291 7 8 Reviewed by Andy Estes. 9 10 * WebProcess/WebPage/WebPage.cpp: 11 (WebKit::shouldReuseCommittedSandboxExtension): Only retain the previous sandbox extension if the file URL 12 we're currently loading is functionally equivalent to the previous one. 13 14 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242376 268f45cc-cd09-0410-ab3c-d52691b4dbfc 15 16 2019-03-04 Brady Eidson <beidson@apple.com> 17 18 Correctly handle sandbox extensions when the same WKWebView loads multiple file:// URLs. 19 <rdar://problem/47820581> and https://bugs.webkit.org/show_bug.cgi?id=195291 20 21 Reviewed by Andy Estes. 22 23 * WebProcess/WebPage/WebPage.cpp: 24 (WebKit::shouldReuseCommittedSandboxExtension): Only retain the previous sandbox extension if the file URL 25 we're currently loading is functionally equivalent to the previous one. 26 1 27 2019-02-26 Philippe Normand <pnormand@igalia.com> and Carlos Garcia Campos <cgarcia@igalia.com> 2 28 -
tags/Safari-608.1.7.1.1/Source/WebKit/WebProcess/WebPage/WebPage.cpp
r242082 r242390 4416 4416 return false; 4417 4417 4418 if (documentLoader->url().isLocalFile() && provisionalDocumentLoader->url().isLocalFile() )4418 if (documentLoader->url().isLocalFile() && provisionalDocumentLoader->url().isLocalFile() && equalIgnoringQueryAndFragment(documentLoader->url(), provisionalDocumentLoader->url())) 4419 4419 return true; 4420 4420
Note:
See TracChangeset
for help on using the changeset viewer.