blob: b3ff1bd68c07dd6d7394221f0a5183daccd5dd18 [file] [log] [blame]
<html>
<head>
</head>
<body>
You should see 1 line with "SUCCESS" below:
<div id=result></div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function checkExpected(actual, expected)
{
var result = document.getElementById("result");
if (actual != expected)
result.innerHTML = "<p>FAILURE: expected \"" + expected + "\", actual \"" + actual + "\"</p>";
else
result.innerHTML = "<p>SUCCESS (value: \"" + actual + "\")</p>";
}
if (window.internals)
checkExpected(internals.testPreloaderSettingViewport(), true);
</script>
</body>
</html>