Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Issue 467035: Adjust our sniffing hueristics to better match Firefox.... (Closed)

Created:
11 years ago by abarth-chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

Adjust our sniffing hueristics to better match Firefox. We used to be willing to sniff "safe" mime types from application/octet-stream, but we ran into compatibility problems with sites that wanted to use application/octet-stream to trigger a download. To have better compatibility with these sites, we've changed our sniffing algorith to be slightly less agressive. BUG=29354 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34237

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -6 lines) Patch
M net/base/mime_sniffer.cc View 1 2 3 chunks +13 lines, -5 lines 0 comments Download
M net/base/mime_sniffer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
abarth-chromium
11 years ago (2009-12-06 19:25:30 UTC) #1
Aaron Boodman
lgtm
11 years ago (2009-12-06 20:05:50 UTC) #2
Evan Martin
s/algorith/algorithm/ in description
11 years ago (2009-12-06 20:52:58 UTC) #3
abarth-chromium
My keyboard has a weak "m" key. :( Will fix. Thanks.
11 years ago (2009-12-06 20:59:57 UTC) #4
Evan Martin
To add to Darin's concern, note that both Firefox and Safari have special-casing depending on ...
11 years ago (2009-12-06 21:19:14 UTC) #5
abarth-chromium
According to my notes in this file, Firefox only special-cases the type of download based ...
11 years ago (2009-12-06 21:31:57 UTC) #6
abarth-chromium
11 years ago (2009-12-06 23:44:35 UTC) #7
On 2009/12/06 20:52:58, Evan Martin wrote:
> s/algorith/algorithm/ in description

Oops.  I forgot to fix this.

Powered by Google App Engine
This is Rietveld 408576698