OLD | NEW |
1 title = $subdocument Exception | 1 title = $subdocument Exception |
2 template = testcase | 2 template = testcase |
3 | 3 |
4 {% set testcase_moreinfo = [ | 4 {% set testcase_moreinfo = [ |
5 ("Filter Options", "https://adblockplus.org/filters#options"), | 5 ("Filter Options", "https://adblockplus.org/filters#options"), |
6 ] %} | 6 ] %} |
7 | 7 |
8 <link rel="stylesheet" href="/testcasefiles/subdocumentexception/stylesheet.css"
> | 8 <link rel="stylesheet" href="/testcasefiles/subdocumentexception/stylesheet.css"
> |
9 | 9 |
10 <section class="site-panel"> | 10 <section class="site-panel"> |
11 <h2>$subdocument Exception</h2> | 11 <h2>$subdocument Exception</h2> |
12 <p>Check that usage of the $subdocument filter option in an exception filter w
orks as expected.</p> | 12 <p>Check that usage of the $subdocument filter option in an exception filter w
orks as expected.</p> |
13 <p>With the filter(s) displayed below each test case added to ABP (or with the
testcase subscription installed and active), the subdocument/frame should not b
e blocked while the stylesheet should be.</p> | 13 <p>With the filter(s) displayed below each test case added to ABP (or with the
testcase subscription installed and active), the subdocument/frame should not b
e blocked while the stylesheet should be.</p> |
14 </section> | 14 </section> |
15 | 15 |
16 <section class="site-panel"> | 16 <section class="site-panel"> |
17 <h2>Test case</h2> | 17 <h2>Test case</h2> |
18 <div class="testcase-container"> | 18 <div class="testcase-container"> |
19 <div class="testcase-row"> | 19 <div class="testcase-row"> |
20 <h3>Frame/Subdocument</h3> | 20 <h3>Frame/Subdocument</h3> |
21 <iframe src="/testcasefiles/subdocumentexception/frame.html"></iframe> | 21 <iframe src="/testcasefiles/subdocumentexception/frame.html"></iframe> |
22 </div> | 22 </div> |
23 <div class="testcase-row"> | 23 <div class="testcase-row"> |
24 <h3>Stylesheet</h3> | 24 <h3>Stylesheet</h3> |
25 <div class="testcase-teststylesheet trap"> </div> | 25 <div class="testcase-teststylesheet trap"> </div> |
26 </div> | 26 </div> |
27 </div> | 27 </div> |
28 <h3>Filters</h3> | 28 <h3>Filters</h3> |
29 <pre>||testpages.adblockplus.org/testcasefiles/subdocumentexception/*</pre> | 29 <pre>||{{ site_url|strip_proto }}/testcasefiles/subdocumentexception/*</pre> |
30 <pre>@@testpages.adblockplus.org/testcasefiles/subdocumentexception/$subdocume
nt</pre> | 30 <pre>@@{{ site_url|strip_proto }}/testcasefiles/subdocumentexception/$subdocum
ent</pre> |
31 </section> | 31 </section> |
OLD | NEW |