LEFT | RIGHT |
1 title = $websocket | 1 title = $websocket |
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 <script> | 9 <script> |
10 function ws_open(evt) { | 10 function ws_open(evt) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 <section class="site-panel"> | 48 <section class="site-panel"> |
49 <h2>Test case</h2> | 49 <h2>Test case</h2> |
50 <div class="testcase-container"> | 50 <div class="testcase-container"> |
51 <div class="testcase-row"> | 51 <div class="testcase-row"> |
52 <h3>WebSocket Request</h3> | 52 <h3>WebSocket Request</h3> |
53 <div id="testcase-output"></div> | 53 <div id="testcase-output"></div> |
54 <div id="testcase-output-expected">WebSocket error / Blocked</div> | 54 <div id="testcase-output-expected">WebSocket error / Blocked</div> |
55 </div> | 55 </div> |
56 </div> | 56 </div> |
57 <h3>Filters</h3> | 57 <h3>Filters</h3> |
58 <pre>$websocket,domain={{ site_url|strip_proto }}</pre> | 58 <pre>$websocket,domain={{ site_url|domain }}</pre> |
59 </section> | 59 </section> |
LEFT | RIGHT |