Title: [198318] trunk/Source
Revision
198318
Author
[email protected]
Date
2016-03-17 00:05:58 -0700 (Thu, 17 Mar 2016)

Log Message

[Mac] Enable Content-Disposition: attachment sandbox
https://bugs.webkit.org/show_bug.cgi?id=155578
<rdar://problem/21886326>

Reviewed by Dan Bernstein.

Covered by the existing set of attachment sandbox tests, which have always been run on Mac.

Source/WebKit/mac:

* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):

Source/WebKit2:

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (198317 => 198318)


--- trunk/Source/WebKit/mac/ChangeLog	2016-03-17 04:42:21 UTC (rev 198317)
+++ trunk/Source/WebKit/mac/ChangeLog	2016-03-17 07:05:58 UTC (rev 198318)
@@ -1,3 +1,16 @@
+2016-03-17  Andy Estes  <[email protected]>
+
+        [Mac] Enable Content-Disposition: attachment sandbox
+        https://bugs.webkit.org/show_bug.cgi?id=155578
+        <rdar://problem/21886326>
+
+        Reviewed by Dan Bernstein.
+
+        Covered by the existing set of attachment sandbox tests, which have always been run on Mac.
+
+        * WebView/WebView.mm:
+        (-[WebView _commonInitializationWithFrameName:groupName:]):
+
 2016-03-16  Beth Dakin  <[email protected]>
 
         Provide NSSpellChecker spellChecking methods with the current insertion point

Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (198317 => 198318)


--- trunk/Source/WebKit/mac/WebView/WebView.mm	2016-03-17 04:42:21 UTC (rev 198317)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm	2016-03-17 07:05:58 UTC (rev 198318)
@@ -1120,9 +1120,7 @@
     _private->page->setDeviceScaleFactor([self _deviceScaleFactor]);
 #endif
 
-#if PLATFORM(IOS)
     _private->page->settings().setContentDispositionAttachmentSandboxEnabled(true);
-#endif
 }
 
 - (id)_initWithFrame:(NSRect)f frameName:(NSString *)frameName groupName:(NSString *)groupName

Modified: trunk/Source/WebKit2/ChangeLog (198317 => 198318)


--- trunk/Source/WebKit2/ChangeLog	2016-03-17 04:42:21 UTC (rev 198317)
+++ trunk/Source/WebKit2/ChangeLog	2016-03-17 07:05:58 UTC (rev 198318)
@@ -1,3 +1,16 @@
+2016-03-17  Andy Estes  <[email protected]>
+
+        [Mac] Enable Content-Disposition: attachment sandbox
+        https://bugs.webkit.org/show_bug.cgi?id=155578
+        <rdar://problem/21886326>
+
+        Reviewed by Dan Bernstein.
+
+        Covered by the existing set of attachment sandbox tests, which have always been run on Mac.
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::WebPage):
+
 2016-03-16  Beth Dakin  <[email protected]>
 
         Provide NSSpellChecker spellChecking methods with the current insertion point

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (198317 => 198318)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2016-03-17 04:42:21 UTC (rev 198317)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2016-03-17 07:05:58 UTC (rev 198318)
@@ -546,7 +546,7 @@
     if (parameters.viewScaleFactor != 1)
         scaleView(parameters.viewScaleFactor);
 
-#if PLATFORM(IOS)
+#if PLATFORM(COCOA)
     m_page->settings().setContentDispositionAttachmentSandboxEnabled(true);
 #endif
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to