OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 description("This test verifies behavior of the ReportScreenSizeInPhysicalPi
xelsQuirk setting."); | 8 description("This test verifies behavior of the ReportScreenSizeInPhysicalPi
xelsQuirk setting."); |
9 | 9 |
10 if (window.internals) | 10 if (window.internals) |
(...skipping 29 matching lines...) Expand all Loading... |
40 testFailed(actualValues[i] + " is not " + expectedValues[i] + " for
" + allInputs[i]); | 40 testFailed(actualValues[i] + " is not " + expectedValues[i] + " for
" + allInputs[i]); |
41 } | 41 } |
42 | 42 |
43 function getWindowValues(inputs) { | 43 function getWindowValues(inputs) { |
44 var result = []; | 44 var result = []; |
45 for (var i = 0; i < inputs.length; ++i) | 45 for (var i = 0; i < inputs.length; ++i) |
46 result[i] = eval("window." + inputs[i]); | 46 result[i] = eval("window." + inputs[i]); |
47 return result; | 47 return result; |
48 } | 48 } |
49 </script> | 49 </script> |
50 <script src="../../js/resources/js-test-post.js"></script> | |
51 </body> | 50 </body> |
52 </html> | 51 </html> |
OLD | NEW |