[Webkit-unassigned] [Bug 64580] Add support for download='filename' in anchors
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 22 14:29:05 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=64580
--- Comment #49 from Darin Fisher (:fishd, Google) <fishd at chromium.org> 2011-07-22 14:29:05 PST ---
(In reply to comment #48)
> (From update of attachment 101763 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=101763&action=review
>
> > LayoutTests/fast/dom/HTMLAnchorElement/anchor-nodownload.html:24
> > + var evt = document.createEvent("MouseEvent");
> > + evt.initMouseEvent('click', true, true);
> > + link.dispatchEvent(evt);
>
> Ouch. I think that programmatically created mouse events should not be able to start download.
You can programmatically navigate to an URL that may be configured to return a Content-Disposition header. Why is this any different? What are you worried about?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list