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

Delta Between Two Patch Sets: pages/filters/script.tmpl

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Left Patch Set: Created April 18, 2018, 11:54 a.m.
Right Patch Set: Fixed README title Created June 7, 2018, 1:58 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « pages/filters/popup.tmpl ('k') | pages/filters/stylesheet.tmpl » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 title = $script - ABP Test Pages 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 </section> 13 </section>
13 14
14 <section class="site-panel"> 15 <section class="site-panel">
15 <h2>Test case</h2> 16 <h2>Test case</h2>
16 <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>
17 <div class="testcase-container"> 18 <div class="testcase-container">
18 <div class="testcase-row"> 19 <div class="testcase-row">
19 <h3>Script</h3><div id="testcase-scripttarget"></div> 20 <h3>Script</h3><div id="testcase-scripttarget"></div>
20 </div> 21 </div>
21 <div class="testcase-row"> 22 <div class="testcase-row">
22 » <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/i mage.jpg"/> 23 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/image .jpg"/>
kzar 2018/04/19 13:08:21 Nit: Git warned me that you've accidentally put a
23 </div> 24 </div>
24 </div> 25 </div>
25 <h3>Filters</h3> 26 <h3>Filters</h3>
26 testpages.adblockplus.org/testcasefiles/script/$script 27 <pre>testpages.adblockplus.org/testcasefiles/script/$script</pre>
27 </section> 28 </section>
28 29
29 <script src="/testcasefiles/script/script.js"></script> 30 <script src="/testcasefiles/script/script.js"></script>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld