Bug 56879

Summary: OBJECT element with DivX source is always downloaded
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch sam: review+

Anders Carlsson
Reported 2011-03-22 16:50:56 PDT
OBJECT element with DivX source is always downloaded
Attachments
Patch (6.87 KB, patch)
2011-03-22 16:56 PDT, Anders Carlsson
sam: review+
Anders Carlsson
Comment 1 2011-03-22 16:56:49 PDT
Sam Weinig
Comment 2 2011-03-22 17:03:17 PDT
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?
Anders Carlsson
Comment 3 2011-03-22 17:34:08 PDT
Note You need to log in before you can comment on or make changes to this bug.