Title: [185436] trunk/Source/WebKit/mac
Revision
185436
Author
[email protected]
Date
2015-06-10 16:35:36 -0700 (Wed, 10 Jun 2015)

Log Message

Meta refresh preference is not respected on fast path WebView
initialization

<https://bugs.webkit.org/show_bug.cgi?id=145861>
<rdar://problem/21309911>

Reviewed by Brady Eidson.

* WebView/WebView.mm:
(-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
Set the WebCore setting from the WebPreferences preference.

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (185435 => 185436)


--- trunk/Source/WebKit/mac/ChangeLog	2015-06-10 23:07:55 UTC (rev 185435)
+++ trunk/Source/WebKit/mac/ChangeLog	2015-06-10 23:35:36 UTC (rev 185436)
@@ -1,3 +1,17 @@
+2015-06-10  Jon Honeycutt  <[email protected]>
+
+        Meta refresh preference is not respected on fast path WebView
+        initialization
+
+        <https://bugs.webkit.org/show_bug.cgi?id=145861>
+        <rdar://problem/21309911>
+
+        Reviewed by Brady Eidson.
+
+        * WebView/WebView.mm:
+        (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
+        Set the WebCore setting from the WebPreferences preference.
+
 2015-06-09  Anders Carlsson  <[email protected]>
 
         Remove more unused SPI methods

Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (185435 => 185436)


--- trunk/Source/WebKit/mac/WebView/WebView.mm	2015-06-10 23:07:55 UTC (rev 185435)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm	2015-06-10 23:35:36 UTC (rev 185436)
@@ -1234,6 +1234,9 @@
     // FIXME: this is a workaround for <rdar://problem/11820090> Quoted text changes in size when replying to certain email
     _private->page->settings().setMinimumFontSize([_private->preferences minimumFontSize]);
 
+    // This is a workaround for <rdar://problem/21309911>.
+    _private->page->settings().setMetaRefreshEnabled([_private->preferences metaRefreshEnabled]);
+
     _private->page->setGroupName(groupName);
 
 #if ENABLE(REMOTE_INSPECTOR)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to