Changeset 244670 in webkit
- Timestamp:
- Apr 25, 2019 5:17:23 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r244667 r244670 1 2019-04-25 Chris Dumez <cdumez@apple.com> 2 3 Trying to load a main resource outside the sandbox should not crash the WebContent process 4 https://bugs.webkit.org/show_bug.cgi?id=197299 5 <rdar://problem/49808042> 6 7 Reviewed by Geoffrey Garen. 8 9 Trying to load a main resource outside the sandbox should not crash the WebContent process. We should 10 simply ignore the load and log an error message. 11 12 * UIProcess/WebPageProxy.cpp: 13 (WebKit::WebPageProxy::decidePolicyForNavigationAction): 14 1 15 2019-04-25 Timothy Hatcher <timothy@apple.com> 2 16 -
trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
r244633 r244670 4542 4542 m_pageLoadState.clearPendingAPIRequestURL(transaction); 4543 4543 4544 MESSAGE_CHECK_URL(process, request.url()); 4544 if (!checkURLReceivedFromCurrentOrPreviousWebProcess(process, request.url())) { 4545 RELEASE_LOG_ERROR_IF_ALLOWED(Process, "Ignoring request to load this main resource because it is outside the sandbox"); 4546 sender->send(PolicyAction::Ignore, 0, DownloadID(), WTF::nullopt); 4547 return; 4548 } 4549 4545 4550 MESSAGE_CHECK_URL(process, originalRequest.url()); 4546 4551
Note: See TracChangeset
for help on using the changeset viewer.