This is a snippet from WebView::canShowMIMEType(): *canShow = MIMETypeRegistry::isSupportedImageMIMEType(mimeTypeStr) || MIMETypeRegistry::isSupportedNonImageMIMEType(mimeTypeStr) || (m_page && m_page->pluginData()->supportsMimeType(mimeTypeStr)) || shouldUseEmbeddedView(mimeTypeStr); m_page->pluginData() can return null if plugins are disabled on the user's system and we'd crash in that case. We should null check m_page->pluginData().
<rdar://problem/8185379>
Created attachment 65346 [details] Patch Null check return value of m_page->pluginData() before accessing it.
Committed fix: r65952