summaryrefslogtreecommitdiffstats
path: root/layout/reftests/reftest-sanity/scripttest-pass-fail.html
blob: 848e21b11941b7c15ef1fca71f65544a8913e13d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<title>scripttest-pass-fail</title>
<script type="text/javascript">
function getTestCases()
{
  return [
    { testPassed: (function () { return false; }), testDescription: (function () { return "fail"; }) },
    { testPassed: (function () { return true; }), testDescription: (function () { return "expected random pass"; }) }
  ];
}
</script>
</head>
<body>
<h1>scripttest-pass-fail</h1>
</body>
</html>