OLD | NEW |
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 30 matching lines...) Expand all Loading... |
41 | 41 |
42 <section class="site-panel"> | 42 <section class="site-panel"> |
43 <h2>$websocket</h2> | 43 <h2>$websocket</h2> |
44 <p>Check that usage of the $websocket filter option works as expected.</p> | 44 <p>Check that usage of the $websocket filter option works as expected.</p> |
45 <p>With the filter displayed below each test case added to ABP (or with the te
stcase subscription installed and active), the websocket connection should be bl
ocked and not echo back the test message.</p> | 45 <p>With the filter displayed below each test case added to ABP (or with the te
stcase subscription installed and active), the websocket connection should be bl
ocked and not echo back the test message.</p> |
46 </section> | 46 </section> |
47 | 47 |
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"><h3>WebSocket Request</h3><div id="testcase-output"
></div></div> | 51 <div class="testcase-row"> |
| 52 <h3>WebSocket Request</h3> |
| 53 <div id="testcase-output"></div> |
| 54 <div id="testcase-output-expected">WebSocket error / Blocked</div> |
| 55 </div> |
52 </div> | 56 </div> |
53 <h3>Filters</h3> | 57 <h3>Filters</h3> |
54 <pre>$websocket,domain=testpages.adblockplus.org</pre> | 58 <pre>$websocket,domain=testpages.adblockplus.org</pre> |
55 </section> | 59 </section> |
OLD | NEW |