Changeset 200119 in webkit
- Timestamp:
- Apr 26, 2016 7:14:35 PM (8 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r200106 r200119 1 2016-04-26 Joseph Pecoraro <pecoraro@apple.com> 2 3 Uncaught Exception: SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent. 4 https://bugs.webkit.org/show_bug.cgi?id=156991 5 <rdar://problem/25913475> 6 7 Reviewed by Timothy Hatcher. 8 9 * WebCoreSupport/WebInspectorClient.mm: 10 (-[WebInspectorWindowController init]): 11 Apply the same universal file access to WebKit1 Web Inspector views that 12 we apply to WebKit2 views. Explicitly always allow access to storage 13 for Web Inspector content just in case as we already allow universal 14 file access. 15 1 16 2016-04-26 Beth Dakin <bdakin@apple.com> 2 17 -
trunk/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm
r197791 r200119 388 388 [preferences setTabsToLinks:NO]; 389 389 [preferences setUserStyleSheetEnabled:NO]; 390 [preferences setAllowFileAccessFromFileURLs:YES]; 391 [preferences setAllowUniversalAccessFromFileURLs:YES]; 392 [preferences setStorageBlockingPolicy:WebAllowAllStorage]; 390 393 391 394 _frontendWebView = [[WebView alloc] init]; -
trunk/Source/WebKit2/ChangeLog
r200116 r200119 1 2016-04-26 Joseph Pecoraro <pecoraro@apple.com> 2 3 Uncaught Exception: SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent. 4 https://bugs.webkit.org/show_bug.cgi?id=156991 5 <rdar://problem/25913475> 6 7 Reviewed by Timothy Hatcher. 8 9 * UIProcess/mac/WebInspectorProxyMac.mm: 10 (WebKit::WebInspectorProxy::platformCreateInspectorPage): 11 Explicitly always allow access to storage for Web Inspector content just 12 in case, as we already allow universal file access. 13 1 14 2016-04-26 Myles C. Maxfield <mmaxfield@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm
r199395 r200119 374 374 preferences._allowFileAccessFromFileURLs = YES; 375 375 [configuration _setAllowUniversalAccessFromFileURLs:YES]; 376 preferences._storageBlockingPolicy = _WKStorageBlockingPolicyAllowAll; 376 377 preferences._javaScriptRuntimeFlags = 0; 377 378 if (isUnderTest()) {
Note: See TracChangeset
for help on using the changeset viewer.