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

Issue 8792018: Topic 11477 - Whitelisting doesn`t deal with frames correctly (Closed)

Created:
Nov. 6, 2012, 10:13 a.m. by Wladimir Palant
Modified:
Nov. 6, 2012, 11:09 a.m.
Reviewers:
Felix Dahlke
Visibility:
Public.

Description

When checking whether a frame is whitelisted we are currently always assuming that it is the top-level frame. We need to get the URL of the parent frame and consider it.

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -8 lines) Patch
M background.js View 1 chunk +3 lines, -2 lines 0 comments Download
M webrequest.js View 1 1 chunk +10 lines, -6 lines 0 comments Download

Messages

Total messages: 6
Wladimir Palant
Nov. 6, 2012, 10:13 a.m. (2012-11-06 10:13:42 UTC) #1
Felix Dahlke
http://codereview.adblockplus.org/8792018/diff/1/webrequest.js File webrequest.js (right): http://codereview.adblockplus.org/8792018/diff/1/webrequest.js#newcode184 webrequest.js:184: var parentData = getFrameData(tabId, parent); Can the supplied frameId ...
Nov. 6, 2012, 10:20 a.m. (2012-11-06 10:20:59 UTC) #2
Wladimir Palant
http://codereview.adblockplus.org/8792018/diff/1/webrequest.js File webrequest.js (right): http://codereview.adblockplus.org/8792018/diff/1/webrequest.js#newcode184 webrequest.js:184: var parentData = getFrameData(tabId, parent); On 2012/11/06 10:20:59, Felix ...
Nov. 6, 2012, 11:02 a.m. (2012-11-06 11:02:02 UTC) #3
Felix Dahlke
OK, LGTM.
Nov. 6, 2012, 11:05 a.m. (2012-11-06 11:05:07 UTC) #4
Wladimir Palant
Nov. 6, 2012, 11:06 a.m. (2012-11-06 11:06:17 UTC) #5
Felix Dahlke
Nov. 6, 2012, 11:07 a.m. (2012-11-06 11:07:05 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld