mobile/android/base/tests/robocop_javascript.html

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     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