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