[Webkit-unassigned] [Bug 201289] <input type="file"> is not kept alive during file picker, if it gets GC'd file selection has no affect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 29 10:08:26 PDT 2019


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

--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org> ---
This is a weird one. Technically, JS no longer has access to the file element because it had lost access to all its references (it's not a part of the document). But perhaps there is an expectation that the event will fire when the user dismisses the dialog or picks a file.

The way to fix this problem is to deploy GCReachableRef<HTMLInputElement> I added.

-- 
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/20190829/7971d537/attachment.html>


More information about the webkit-unassigned mailing list