We currently crash in titleText() or subtitleText() in HTMLPlugInImageElement.cpp if there is no mime-type specified.
<rdar://problem/38278978>
Created attachment 342045 [details] Patch
Comment on attachment 342045 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=342045&action=review > Source/WebCore/ChangeLog:8 > + In case the mime-type is not available, use the default labels otherwise we'd crash trying to look up the empty string in the HashMap. Is it feasible to have a test for this?
To answer ap's question, there is a test, but it hits RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(isSafeToUpdateStyleOrLayout(*this)) in Document::updateLayout() See rdar://40849498.
Comment on attachment 342045 [details] Patch Clearing flags on attachment: 342045 Committed r232551: <https://trac.webkit.org/changeset/232551>
All reviewed patches have been landed. Closing bug.