Files
firefox/mobile/android/tests/browser/robocop/robocop_javascript.html
T
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00

21 lines
668 B
HTML

<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>Mochitest Robotium Javascript Test Harness</title>
<link rel="author" title="nalexander" href="mailto:[email protected]">
<script type="application/javascript" 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>