<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&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mcatanzaro&#64;igalia.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bugs-noreply&#64;webkitgtk.org, cdumez&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>r212972 &quot;Download attribute should be sanitized before being used as suggested filename&quot; 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
&#64;&#64; -1,5 +1,5 &#64;&#64;
 Download started.
-Downloading URL with suggested filename &quot;test&quot;abe.png&quot;
+Downloading URL with suggested filename &quot;test\&quot;abe.png&quot;
 Download completed.
 The suggested filename above should be 'test&quot;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
&#64;&#64; -1,6 +1,7 &#64;&#64;
 Download started.
-Downloading URL with suggested filename &quot;test1_test2abe.png&quot;
-Download completed.
+Downloading URL with suggested filename &quot;test1/test2\\abe.png&quot;
+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>