| OLD | NEW |
| 1 title = $script | 1 title = $script |
| 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 | 8 |
| 9 <section class="site-panel"> | 9 <section class="site-panel"> |
| 10 <h2>$script</h2> | 10 <h2>$script</h2> |
| 11 <p>Check that usage of the $script filter option works as expected.</p> | 11 <p>Check that usage of the $script filter option works as expected.</p> |
| 12 <p>With the filter displayed below each test case added to ABP (or with the te
stcase subscription installed and active), the scripts in each test case panel s
hould be blocked but the images should not.</p> | 12 <p>With the filter displayed below each test case added to ABP (or with the te
stcase subscription installed and active), the scripts in each test case panel s
hould be blocked but the images should not.</p> |
| 13 </section> | 13 </section> |
| 14 | 14 |
| 15 <section class="site-panel"> | 15 <section class="site-panel"> |
| 16 <h2>Test case</h2> | 16 <h2>Test case</h2> |
| 17 <p>The script should be blocked. The image should not be blocked.</p> | 17 <p>The script should be blocked. The image should not be blocked.</p> |
| 18 <div class="testcase-container"> | 18 <div class="testcase-container"> |
| 19 <div class="testcase-row"> | 19 <div class="testcase-row"> |
| 20 <h3>Script</h3><div id="testcase-scripttarget" class="trap"> </div> | 20 <h3>Script</h3><div id="testcase-scripttarget" class="trap"> </div> |
| 21 </div> | 21 </div> |
| 22 <div class="testcase-row"> | 22 <div class="testcase-row"> |
| 23 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/image
.jpg"/> | 23 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/image
.jpg"/> |
| 24 </div> | 24 </div> |
| 25 </div> | 25 </div> |
| 26 <h3>Filters</h3> | 26 <h3>Filters</h3> |
| 27 <pre>testpages.adblockplus.org/testcasefiles/script/$script</pre> | 27 <pre>{{ site_url|strip_proto }}/testcasefiles/script/$script</pre> |
| 28 </section> | 28 </section> |
| 29 | 29 |
| 30 <script src="/testcasefiles/script/script.js"></script> | 30 <script src="/testcasefiles/script/script.js"></script> |
| OLD | NEW |