[Webkit-unassigned] [Bug 172678] New: Support a way to provide a suggested filename for <img src="data:..."> file creation (drag to desktop, save as context menu)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 26 21:35:52 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=172678

            Bug ID: 172678
           Summary: Support a way to provide a suggested filename for <img
                    src="data:..."> file creation (drag to desktop, save
                    as context menu)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: cdumez at apple.com, eoconnor at apple.com,
                    joepeck at webkit.org, simon.fraser at apple.com

Summary:
Support a way to provide a suggested filename for <img src="data:..."> file creation (drag to desktop, save as context menu).

Test:
<img src="data:image/png;base64,...">

Existing Behavior:
• When dragging to Desktop => "Unknown.png"
• Right click > Save Image as => "Unknown.png"

Expected:
Web authors should be able to provide a suggested filename. For example:
<img src="data:image/png;base64,..." filename="dog.png">

Notes:
• This is somewhat related to Chrome's non-standard "DownloadURL" support. However that is only for Drag and Drop (not Save as) and requires JavaScript so won't work in some contexts.

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


More information about the webkit-unassigned mailing list