Title: [206358] trunk/Source/WebKit2
Revision
206358
Author
[email protected]
Date
2016-09-24 22:08:56 -0700 (Sat, 24 Sep 2016)

Log Message

[WK2] Enable support for 'download' attribute on anchor elements
https://bugs.webkit.org/show_bug.cgi?id=162535

Reviewed by Darin Adler.

Enable support for 'download' attribute on anchor elements for WebKit2
now that:
- It works with our NETWORK_SESSION code path (Bug 162531)
- Supports Blob / Data URLs (Bug 156099)
- Requires user interaction / ignores synthetic clicks (Bug 156099)

* Shared/WebPreferencesDefinitions.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (206357 => 206358)


--- trunk/Source/WebKit2/ChangeLog	2016-09-25 03:17:21 UTC (rev 206357)
+++ trunk/Source/WebKit2/ChangeLog	2016-09-25 05:08:56 UTC (rev 206358)
@@ -1,5 +1,20 @@
 2016-09-24  Chris Dumez  <[email protected]>
 
+        [WK2] Enable support for 'download' attribute on anchor elements
+        https://bugs.webkit.org/show_bug.cgi?id=162535
+
+        Reviewed by Darin Adler.
+
+        Enable support for 'download' attribute on anchor elements for WebKit2
+        now that:
+        - It works with our NETWORK_SESSION code path (Bug 162531)
+        - Supports Blob / Data URLs (Bug 156099)
+        - Requires user interaction / ignores synthetic clicks (Bug 156099)
+
+        * Shared/WebPreferencesDefinitions.h:
+
+2016-09-24  Chris Dumez  <[email protected]>
+
         <a download> does not support Blob URLs
         https://bugs.webkit.org/show_bug.cgi?id=156099
         <rdar://problem/25535520>

Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (206357 => 206358)


--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2016-09-25 03:17:21 UTC (rev 206357)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2016-09-25 05:08:56 UTC (rev 206358)
@@ -227,7 +227,7 @@
     macro(ShadowDOMEnabled, shadowDOMEnabled, Bool, bool, true, "Shadow DOM", "HTML Shadow DOM prototype") \
     macro(DOMIteratorEnabled, domIteratorEnabled, Bool, bool, true, "", "") \
     macro(FetchAPIEnabled, fetchAPIEnabled, Bool, bool, true, "", "") \
-    macro(DownloadAttributeEnabled, downloadAttributeEnabled, Bool, bool, false, "", "") \
+    macro(DownloadAttributeEnabled, downloadAttributeEnabled, Bool, bool, true, "", "") \
     macro(SelectionPaintingWithoutSelectionGapsEnabled, selectionPaintingWithoutSelectionGapsEnabled, Bool, bool, DEFAULT_SELECTION_PAINTING_WITHOUT_SELECTION_GAPS_ENABLED, "", "") \
     macro(ApplePayEnabled, applePayEnabled, Bool, bool, false, "", "") \
     macro(ApplePayCapabilityDisclosureAllowed, applePayCapabilityDisclosureAllowed, Bool, bool, true, "", "") \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to