[Webkit-unassigned] [Bug 138171] FormData should not use Document, Page, Chrome and ChromeClient

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 31 22:33:05 PDT 2014


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

--- Comment #7 from Alexey Proskuryakov <ap at webkit.org> ---
In other words, I think that this refactoring can be performed on non-Mac by eliminating non-File code path. 

One thing that is challenging about this is that these use modes actually have different semantics now. A file that is put into a form input is stored as a path, so any changes to it that are made between choosing it and submitting the form do take effect. On the other hand, File objects are frozen when the File object is created, and get invalidated after any changes. If such a File object is in a form, submission will suddenly fail. 

This is largely a standards limitation, so we should probably try to preserve existing behavior for now, even though it's crazy.

-- 
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/20141101/346ca249/attachment-0002.html>


More information about the webkit-unassigned mailing list