Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 5420918314631168: Issue 1372 - Work around a bug in Chrome 38 where 'object' requests have the wrong type (Closed)

Created:
Sept. 25, 2014, 2:53 p.m. by Sebastian Noack
Modified:
Sept. 25, 2014, 4:29 p.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

Issue 1372 - Work around a bug in Chrome 38 where 'object' requests have the wrong type

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -4 lines) Patch
M chrome/ext/background.js View 2 chunks +15 lines, -4 lines 3 comments Download

Messages

Total messages: 4
Sebastian Noack
http://codereview.adblockplus.org/5420918314631168/diff/5629499534213120/chrome/ext/background.js File chrome/ext/background.js (right): http://codereview.adblockplus.org/5420918314631168/diff/5629499534213120/chrome/ext/background.js#newcode325 chrome/ext/background.js:325: if (requestType == "other" && / Chrome\/38\b/.test(navigator.userAgent)) Just in ...
Sept. 25, 2014, 3 p.m. (2014-09-25 15:00:52 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/5420918314631168/diff/5629499534213120/chrome/ext/background.js File chrome/ext/background.js (right): http://codereview.adblockplus.org/5420918314631168/diff/5629499534213120/chrome/ext/background.js#newcode325 chrome/ext/background.js:325: if (requestType == "other" && / Chrome\/38\b/.test(navigator.userAgent)) I wonder ...
Sept. 25, 2014, 4:18 p.m. (2014-09-25 16:18:16 UTC) #2
Wladimir Palant
LGTM
Sept. 25, 2014, 4:18 p.m. (2014-09-25 16:18:20 UTC) #3
Sebastian Noack
Sept. 25, 2014, 4:24 p.m. (2014-09-25 16:24:05 UTC) #4
http://codereview.adblockplus.org/5420918314631168/diff/5629499534213120/chro...
File chrome/ext/background.js (right):

http://codereview.adblockplus.org/5420918314631168/diff/5629499534213120/chro...
chrome/ext/background.js:325: if (requestType == "other" && /
Chrome\/38\b/.test(navigator.userAgent))
On 2014/09/25 16:18:16, Wladimir Palant wrote:
> I wonder whether we should really do this for Chrome 38 only - as opposed to
> Chrome 38 and above. Well, there is always hope that this will simply be
> fixed...

In case this isn't fixed in Chrome 39, this workaround won't do any good anyway.
Note that in Chrome 39 Canary build almost everything is reported with type
"others".

Powered by Google App Engine
This is Rietveld