<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Downloads attributes tests are failing"
href="https://bugs.webkit.org/show_bug.cgi?id=168871">168871</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[GTK] Downloads attributes tests are failing
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Gtk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mcatanzaro@igalia.com
</td>
</tr>
<tr>
<th>CC</th>
<td>bugs-noreply@webkitgtk.org, cdumez@apple.com
</td>
</tr></table>
<p>
<div>
<pre>r212972 "Download attribute should be sanitized before being used as suggested filename" added several new layout tests, all of which are broken for GTK port. These tests always fail:
fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-doublequote.html
fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-slashes.html
This test always times out:
fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-unicode.html
Text diffs for the two failing tests:
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-doublequote-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-doublequote-actual.txt
@@ -1,5 +1,5 @@
Download started.
-Downloading URL with suggested filename "test"abe.png"
+Downloading URL with suggested filename "test\"abe.png"
Download completed.
The suggested filename above should be 'test"abe.png' and the download should succeed.
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-slashes-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-slashes-actual.txt
@@ -1,6 +1,7 @@
Download started.
-Downloading URL with suggested filename "test1_test2abe.png"
-Download completed.
+Downloading URL with suggested filename "test1/test2\\abe.png"
+Download failed.
+Failed: WebKitNetworkError, code=302, description=Load request cancelled
The suggested filename above should NOT include slashes or backslashes and the download should succeed.
File backed blob URL
I'll update the expectations accordingly.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>