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

Side by Side Diff: pages/filters/popup.tmpl

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Patch Set: Created April 18, 2018, 11:54 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 title = $popup - ABP Test Pages
2 template = testcase
3
4 {% set testcase_moreinfo = [
5 ("Filter Options", "https://adblockplus.org/filters#options"),
6 ] %}
7
8
9 <script>
10 function do_popup()
11 {
12 window.open("/en/popuptarget")
13 }
14 </script>
15
16 <section class="site-panel">
17 <h2>$popup</h2>
18 <p>Check that usage of the $popup filter option is working as expected.</p>
19 </section>
20
21 <section class="site-panel">
22 <h2>Link-based popup</h2>
23 <div class="testcase-container">
24 <a href="/en/popuptarget" target="_blank">Link popup</a><br><br>
25 </div>
26 <h3>Filters</h3>
27 ||testpages.adblockplus.org/en/popuptarget^$popup
28 </section>
29
30 <section class="site-panel">
31 <h2>Script-based popup</h2>
32 <div class="testcase-container">
33 <button onclick="do_popup();">window.open() popup</button>
34 </div>
35 <h3>Filters</h3>
36 ||testpages.adblockplus.org/en/popuptarget^$popup
37 </section>
OLDNEW

Powered by Google App Engine
This is Rietveld