mobile/android/base/tests/robocop_javascript.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 <head>
     3 <meta charset="UTF-8">
     4 <title>Mochitest Robotium Javascript Test Harness</title>
     5 <link rel="author" title="nalexander" href="mailto:nalexander@mozilla.com">
     6 <script type="application/javascript;version=1.8" src="robocop_testharness.js"></script>
     7 <script>
     8 var param = /[&?]path=([^&]+)/.exec(location.search);
     9 if (param) {
    10   // We encode so that absolute URLs can be provided.  Since the
    11   // encoding of a relative filename is just the filename, no special
    12   // processing is needed for the most common case.
    13   var src = decodeURIComponent(param[1]);
    14   document.title = src;
    16   // Provided by robocop_testharness.js.
    17   testOneFile(src);
    18 }
    19 </script>
    20 </head>

mercurial