OLD | NEW |
1 title = $xmlhttprequest | 1 title = $xmlhttprequest |
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 <script> | 8 <script> |
9 function aborted(evt) { | 9 function aborted(evt) { |
10 pagelog("XMLHTTPRequest was aborted."); | 10 pagelog("XMLHTTPRequest was aborted."); |
(...skipping 23 matching lines...) Expand all Loading... |
34 <h2>$xmlhttprequest</h2> | 34 <h2>$xmlhttprequest</h2> |
35 <p>Check that usage of the $xmlhttprequest filter option works as expected.</p
> | 35 <p>Check that usage of the $xmlhttprequest filter option works as expected.</p
> |
36 <p>With the filter displayed below each test case added to ABP (or with the te
stcase subscription installed and active), the XMLHTTPRequest in each test case
panel should be blocked but the images should not.</p> | 36 <p>With the filter displayed below each test case added to ABP (or with the te
stcase subscription installed and active), the XMLHTTPRequest in each test case
panel should be blocked but the images should not.</p> |
37 </section> | 37 </section> |
38 | 38 |
39 <section class="site-panel"> | 39 <section class="site-panel"> |
40 <h2>Test case</h2> | 40 <h2>Test case</h2> |
41 <p>The XMLHTTPRequest should be blocked. The Image should not be blocked.</p> | 41 <p>The XMLHTTPRequest should be blocked. The Image should not be blocked.</p> |
42 <div class="testcase-container"> | 42 <div class="testcase-container"> |
43 <div class="testcase-row"> | 43 <div class="testcase-row"> |
44 <h3>XMLHTTPRequest</h3><div id="testcase-output"></div> | 44 <h3>XMLHTTPRequest</h3> |
| 45 <div id="testcase-output"></div> |
| 46 <div id="testcase-output-expected">XMLHTTPRequest failed.</div> |
45 </div> | 47 </div> |
46 <div class="testcase-row"> | 48 <div class="testcase-row"> |
47 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/xmlhttpreque
st/image.jpg"/> | 49 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/xmlhttpreque
st/image.jpg"/> |
48 </div> | 50 </div> |
49 </div> | 51 </div> |
50 <h3>Filters</h3> | 52 <h3>Filters</h3> |
51 <pre>testpages.adblockplus.org/testcasefiles/xmlhttprequest/$xmlhttprequest</p
re> | 53 <pre>testpages.adblockplus.org/testcasefiles/xmlhttprequest/$xmlhttprequest</p
re> |
52 </section> | 54 </section> |
OLD | NEW |