When checking if certain mime is supported, we create the caps from it and if caps creation fails because input is bogus, we can get a controlled crash later.
Pull request: https://github.com/WebKit/WebKit/pull/7745
Committed 257983@main (d8823f0e52f5): <https://commits.webkit.org/257983@main> Reviewed commits have been landed. Closing PR #7745 and removing active labels.
<rdar://problem/103444716>