OBJECT element with DivX source is always downloaded
Created attachment 86543 [details] Patch
Comment on attachment 86543 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=86543&action=review > Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1270 > + const Vector<String>& extensions = mimeClassInfo.extensions; > + > + if (find(extensions.begin(), extensions.end(), extension) != extensions.end()) > + return true; Can this use the new Vector::contains()? Should we make mimeClassInfo.extensions a HashSet?
Committed r81732: <http://trac.webkit.org/changeset/81732>