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

Issue 29457578: Issue 4327 - Do not apply $subdocument filters to top-level documents (Closed)

Created:
June 6, 2017, 12:50 p.m. by Manish Jethani
Modified:
June 9, 2017, 7:33 a.m.
Reviewers:
Sebastian Noack, kzar
Base URL:
https://hg.adblockplus.org/abp2blocklist
Visibility:
Public.

Description

Issue 4327 - Do not apply $subdocument filters to top-level documents

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M lib/abp2blocklist.js View 1 chunk +7 lines, -0 lines 0 comments Download
M test/abp2blocklist.js View 1 chunk +10 lines, -4 lines 0 comments Download

Messages

Total messages: 6
Manish Jethani
June 6, 2017, 12:51 p.m. (2017-06-06 12:51:05 UTC) #1
Manish Jethani
Patch Set 1 Exclude top-level documents by specifying the new unless-top-url property. This change is ...
June 6, 2017, 12:54 p.m. (2017-06-06 12:54:19 UTC) #2
Sebastian Noack
LGTM from my side. Please wait for kzar to review it as well.
June 6, 2017, 1:50 p.m. (2017-06-06 13:50:00 UTC) #3
kzar
How do older versions of Safari handle these new options. Are they simply ignored, or ...
June 8, 2017, 11:52 a.m. (2017-06-08 11:52:28 UTC) #4
Sebastian Noack
On 2017/06/08 11:52:28, kzar wrote: > How do older versions of Safari handle these new ...
June 8, 2017, 12:10 p.m. (2017-06-08 12:10:08 UTC) #5
kzar
June 8, 2017, 12:20 p.m. (2017-06-08 12:20:51 UTC) #6
On 2017/06/08 12:10:08, Sebastian Noack wrote:
> On 2017/06/08 11:52:28, kzar wrote:
> > How do older versions of Safari handle these new options. Are they simply
> > ignored, or are the rules using them ignored, or does the whole list fail to
> > load?
> As per Manish's comment above, older versions of Safari will just ignore the
> "unless-top-url" property added here, and therefore behave the same as they
did
> before this change.

Whoops sorry, missed that. LGTM.

Powered by Google App Engine
This is Rietveld