Save <input type=file> from premature garbage collection
If an <input type=file> is detached from the DOM and programmatically clicked using .click(), then sometimes it was garbage collected before the user finished choosing a file, which would cause the 'change' event handler on the input element to not get called. Bug: 996269 Change-Id: I839bb76058b1e8f619732003ba6d82ed9ab0f66d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1875454Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#713603}
Showing
Please register or sign in to comment