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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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