OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script> |
| 3 if (window.testRunner) |
| 4 testRunner.dumpAsText() |
| 5 |
| 6 function checkIfPassed(value, expectation) |
| 7 { |
| 8 if (value == expectation) |
| 9 document.getElementById('result').innerHTML = 'PASSED'; |
| 10 else |
| 11 failed(); |
| 12 } |
| 13 |
| 14 function failed() |
| 15 { |
| 16 document.getElementById('result').innerHTML = 'FAILED'; |
| 17 } |
| 18 </script> |
| 19 <script src="../resources/slow-script.pl?sleep=300"></script> |
| 20 <meta http-equiv="Accept-CH" content="DPR, RW"> |
| 21 This test checks that a meta based Accept-CH is properly parsed by the HTMLPrelo
adScanner. |
| 22 <div id=result></div> |
| 23 <img src='resources/image-checks-for-rw.php' |
| 24 onload="checkIfPassed(this.clientWidth, 128);" |
| 25 onerror="failed();"> |
| 26 |
OLD | NEW |