WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
56879
OBJECT element with DivX source is always downloaded
https://bugs.webkit.org/show_bug.cgi?id=56879
Summary
OBJECT element with DivX source is always downloaded
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2011-03-22 16:56:49 PDT
Created
attachment 86543
[details]
Patch
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
Committed
r81732
: <
http://trac.webkit.org/changeset/81732
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug