layout/reftests/reftest-sanity/scripttest-pass-fail.html

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:6f5281e051fa
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>scripttest-pass-fail</title>
5 <script type="text/javascript">
6 function getTestCases()
7 {
8 return [
9 { testPassed: (function () { return false; }), testDescription: (function () { return "fail"; }) },
10 { testPassed: (function () { return true; }), testDescription: (function () { return "expected random pass"; }) }
11 ];
12 }
13 </script>
14 </head>
15 <body>
16 <h1>scripttest-pass-fail</h1>
17 </body>
18 </html>

mercurial