In rare circumstances, it's possible for the FileList associated with RenderFileUploadControl::inputElement (HTMLInputElement::files()) to be null. We should avoid crashing in these scenarios.
<rdar://problem/89651456>
Created attachment 453555 [details] Patch
Comment on attachment 453555 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=453555&action=review > Source/WebCore/rendering/RenderFileUploadControl.cpp:261 > + return String(); return { };
Created attachment 453559 [details] Patch
> > Source/WebCore/rendering/RenderFileUploadControl.cpp:261 > > + return String(); > > return { }; Fixed.
Committed r290738 (247984@main): <https://commits.webkit.org/247984@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453559 [details].