Title: [258640] trunk/LayoutTests
Revision
258640
Author
[email protected]
Date
2020-03-18 09:07:25 -0700 (Wed, 18 Mar 2020)

Log Message

Default attachment icon is not necessarily the same as the file attachment icon whose extension is ".dat"
https://bugs.webkit.org/show_bug.cgi?id=209210
<rdar://problem/59606671>

Patch by Said Abou-Hallawa <[email protected]> on 2020-03-18
Reviewed by Daniel Bates.

Ensure that the default attachment icon is the one which iconForFileType
returns for "public.data" icon.

* fast/attachment/attachment-default-icon-expected.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (258639 => 258640)


--- trunk/LayoutTests/ChangeLog	2020-03-18 15:59:03 UTC (rev 258639)
+++ trunk/LayoutTests/ChangeLog	2020-03-18 16:07:25 UTC (rev 258640)
@@ -1,3 +1,16 @@
+2020-03-18  Said Abou-Hallawa  <[email protected]>
+
+        Default attachment icon is not necessarily the same as the file attachment icon whose extension is ".dat"
+        https://bugs.webkit.org/show_bug.cgi?id=209210
+        <rdar://problem/59606671>
+
+        Reviewed by Daniel Bates.
+
+        Ensure that the default attachment icon is the one which iconForFileType
+        returns for "public.data" icon.
+
+        * fast/attachment/attachment-default-icon-expected.html:
+
 2020-03-18  Antoine Quint  <[email protected]>
 
         [macOS iOS ] animations/animation-direction-normal.html is flaky failing

Modified: trunk/LayoutTests/fast/attachment/attachment-default-icon-expected.html (258639 => 258640)


--- trunk/LayoutTests/fast/attachment/attachment-default-icon-expected.html	2020-03-18 15:59:03 UTC (rev 258639)
+++ trunk/LayoutTests/fast/attachment/attachment-default-icon-expected.html	2020-03-18 16:07:25 UTC (rev 258640)
@@ -1,13 +1,6 @@
 <!DOCTYPE html><!-- webkit-test-runner [ enableAttachmentElement=true ] -->
 <html>
 <body>
-<attachment id="attachment" title="  "></attachment>
-<script>
-var file;
-if (window.internals)
-    file = window.internals.createFile("resources/test-file.dat");
-
-document.getElementById("attachment").file = file;
-</script>
+<attachment id="attachment" title="  " type="public.data"></attachment>
 </body>
 </html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to