[Webkit-unassigned] [Bug 170674] New: File API constructor filename ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 10 06:00:22 PDT 2017


            Bug ID: 170674
           Summary: File API constructor filename ignored
           Product: WebKit
           Version: Safari 10
          Hardware: Unspecified
                OS: iOS 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: daniel.stein at tresorit.com

Trying to download a file with a given filename from a blob. Opening a webpage containing the following script shows a file download screen with "Unknown" as the filename instead of the parameter.

window.location = URL.createObjectURL(new File(["content"], "filename.txt", {type: "application/octet-stream", lastModified: new Date()}));

OS: iOS 10.3.2
Device: iPad mini 3

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170410/c56e00e0/attachment.html>

More information about the webkit-unassigned mailing list