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

Issue 29333035: Issue 3453 - Adapt indistinguishable request types for changes in Chrome 49 (Closed)

Created:
Dec. 23, 2015, 12:10 p.m. by Sebastian Noack
Modified:
Dec. 23, 2015, 3:05 p.m.
Reviewers:
kzar, Wladimir Palant
Visibility:
Public.

Description

Issue 3453 - Adapt indistinguishable request types for changes in Chrome 49

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -21 lines) Patch
M chrome/ext/background.js View 1 chunk +24 lines, -18 lines 5 comments Download
M safari/ext/background.js View 1 chunk +7 lines, -2 lines 0 comments Download
M webrequest.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
Sebastian Noack
I think we should get that into the 1.10 release.
Dec. 23, 2015, 12:11 p.m. (2015-12-23 12:11:54 UTC) #1
Wladimir Palant
https://codereview.adblockplus.org/29333035/diff/29333036/chrome/ext/background.js File chrome/ext/background.js (right): https://codereview.adblockplus.org/29333035/diff/29333036/chrome/ext/background.js#newcode380 chrome/ext/background.js:380: return [["OBJECT", "OBJECT_SUBREQUEST"], otherTypes]; This logic is very hard ...
Dec. 23, 2015, 12:50 p.m. (2015-12-23 12:50:51 UTC) #2
Sebastian Noack
https://codereview.adblockplus.org/29333035/diff/29333036/chrome/ext/background.js File chrome/ext/background.js (right): https://codereview.adblockplus.org/29333035/diff/29333036/chrome/ext/background.js#newcode380 chrome/ext/background.js:380: return [["OBJECT", "OBJECT_SUBREQUEST"], otherTypes]; On 2015/12/23 12:50:51, Wladimir Palant ...
Dec. 23, 2015, 1:08 p.m. (2015-12-23 13:08:43 UTC) #3
Wladimir Palant
I cannot say that I like the logic there but - LGTM.
Dec. 23, 2015, 2:39 p.m. (2015-12-23 14:39:18 UTC) #4
kzar
https://codereview.adblockplus.org/29333035/diff/29333036/chrome/ext/background.js File chrome/ext/background.js (right): https://codereview.adblockplus.org/29333035/diff/29333036/chrome/ext/background.js#newcode363 chrome/ext/background.js:363: var match = navigator.userAgent.match(/\bChrome\/(\d+)/); We already parse the application ...
Dec. 23, 2015, 2:43 p.m. (2015-12-23 14:43:20 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29333035/diff/29333036/chrome/ext/background.js File chrome/ext/background.js (right): https://codereview.adblockplus.org/29333035/diff/29333036/chrome/ext/background.js#newcode363 chrome/ext/background.js:363: var match = navigator.userAgent.match(/\bChrome\/(\d+)/); On 2015/12/23 14:43:20, kzar wrote: ...
Dec. 23, 2015, 2:46 p.m. (2015-12-23 14:46:56 UTC) #6
kzar
Dec. 23, 2015, 2:56 p.m. (2015-12-23 14:56:42 UTC) #7
LGTM

https://codereview.adblockplus.org/29333035/diff/29333036/chrome/ext/backgrou...
File chrome/ext/background.js (right):

https://codereview.adblockplus.org/29333035/diff/29333036/chrome/ext/backgrou...
chrome/ext/background.js:363: var match =
navigator.userAgent.match(/\bChrome\/(\d+)/);
On 2015/12/23 14:46:56, Sebastian Noack wrote:
> On 2015/12/23 14:43:20, kzar wrote:
> > We already parse the application name and version in the info module,  how
> come
> > we're doing it again here?
> 
> adblockplus.js (including the info module) depends on ext, and as ext is
loaded
> first, the adblockplus.js might not be avialable yet. Moreover, circular
> dependencies are generally bad practice.

Acknowledged.

Powered by Google App Engine
This is Rietveld