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

Issue 29445639: Noissue - Use lowercase for WebRTC and WebSocket resource types (Closed)

Created:
May 22, 2017, 2:40 p.m. by Manish Jethani
Modified:
May 24, 2017, 12:07 p.m.
Reviewers:
Sebastian Noack, kzar
CC:
Wladimir Palant
Base URL:
https://hg.adblockplus.org/adblockpluschrome/
Visibility:
Public.

Description

Noissue - Use lowercase for WebRTC and WebSocket resource types

Patch Set 1 #

Patch Set 2 : Use lowercase for WebRTC and WebSocket resource types #

Patch Set 3 : Uppercase resource type before check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M inject.preload.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
M lib/requestBlocker.js View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13
Manish Jethani
May 22, 2017, 2:40 p.m. (2017-05-22 14:40:19 UTC) #1
Manish Jethani
Patch Set 1 Chrome is reporting WebRTC requests as "WEBRTC" (uppercase). We might as well ...
May 22, 2017, 2:41 p.m. (2017-05-22 14:41:55 UTC) #2
Manish Jethani
On 2017/05/22 14:41:55, Manish Jethani wrote: > Patch Set 1 > > Chrome is reporting ...
May 22, 2017, 2:43 p.m. (2017-05-22 14:43:31 UTC) #3
Sebastian Noack
This shouldn't be necessary, if you just replace "WEBRTC" and "WEBSOCKET" in inject.preload.js with lowercase. ...
May 22, 2017, 2:50 p.m. (2017-05-22 14:50:45 UTC) #4
Manish Jethani
Patch Set 2: Use lowercase for WebRTC and WebSocket resource types
May 22, 2017, 3 p.m. (2017-05-22 15:00:40 UTC) #5
Sebastian Noack
LGTM
May 22, 2017, 3:04 p.m. (2017-05-22 15:04:51 UTC) #6
kzar
On 2017/05/22 14:50:45, Sebastian Noack wrote: > This shouldn't be necessary, if you just replace ...
May 22, 2017, 3:12 p.m. (2017-05-22 15:12:33 UTC) #7
Sebastian Noack
On 2017/05/22 15:12:33, kzar wrote: > On 2017/05/22 14:50:45, Sebastian Noack wrote: > > This ...
May 22, 2017, 3:32 p.m. (2017-05-22 15:32:05 UTC) #8
Manish Jethani
On 2017/05/22 15:32:05, Sebastian Noack wrote: > On 2017/05/22 15:12:33, kzar wrote: > > On ...
May 22, 2017, 3:59 p.m. (2017-05-22 15:59:43 UTC) #9
Manish Jethani
Patch Set 3 On 2017/05/22 15:32:05, Sebastian Noack wrote: > On 2017/05/22 15:12:33, kzar wrote: ...
May 22, 2017, 5:21 p.m. (2017-05-22 17:21:59 UTC) #10
kzar
LGTM assuming you've tested that request blocking, including WebRTC, still works. (If it helps I ...
May 23, 2017, 11:42 a.m. (2017-05-23 11:42:59 UTC) #11
Sebastian Noack
LGTM
May 23, 2017, 12:19 p.m. (2017-05-23 12:19:13 UTC) #12
Manish Jethani
May 23, 2017, 6:58 p.m. (2017-05-23 18:58:44 UTC) #13
On 2017/05/23 11:42:59, kzar wrote:
> LGTM assuming you've tested that request blocking, including WebRTC, still
> works.
> 
> (If it helps I add the filter $webrtc,domain=news.ycombinator.com , then
browse
> to https://news.ycombinator.com , open a console and run this `new
> RTCPeerConnection({iceServers: [{urls: ["stun:stun.l.google.com:19302"]}]});`
> and check it was blocked.)

Tested and works.

Powered by Google App Engine
This is Rietveld