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

  // Provided by robocop_testharness.js.
  testOneFile(src);
}
</script>
</head>