Handling 'allowUniversalAccessFromFileURLs' on WKWebViewConfiguration causes test...
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Mar 2016 23:00:57 +0000 (23:00 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Mar 2016 23:00:57 +0000 (23:00 +0000)
https://bugs.webkit.org/show_bug.cgi?id=155265

Unreviewed work-around to allow testing to continue.

* UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(-[WKWebViewConfiguration init]): Workaround build break.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@197889 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm

index c765864..c8ea469 100644 (file)
@@ -1,3 +1,13 @@
+2016-03-09  Brent Fulgham  <bfulgham@apple.com>
+
+        Handling 'allowUniversalAccessFromFileURLs' on WKWebViewConfiguration causes test breakage
+        https://bugs.webkit.org/show_bug.cgi?id=155265
+
+        Unreviewed work-around to allow testing to continue.
+
+        * UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
+        (-[WKWebViewConfiguration init]): Workaround build break.
+
 2016-03-09  Alex Christensen  <achristensen@webkit.org>
 
         Fix use-after-free when cancelling synchronous XHR when using NetworkSession
index 8ad5061..783d4b2 100644 (file)
@@ -152,7 +152,7 @@ private:
     _allowsJavaScriptMarkup = YES;
     _convertsPositionStyleOnCopy = NO;
     _allowsMetaRefresh = YES;
-    _allowUniversalAccessFromFileURLs = NO;
+    _allowUniversalAccessFromFileURLs = YES; //FIXME(155265): Workaround for test break
 
     return self;
 }