Bug 663581 - remove unused test_bug362788.xhtml. r?jmaher
MozReview-Commit-ID: ketJSTBbQ7
deleted file mode 100644
--- a/testing/mochitest/tests/Harness_sanity/test_bug362788.xhtml
+++ /dev/null
@@ -1,49 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=362788
--->
-<head>
- <title>Test for Bug 362788</title>
- <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
- <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=362788">Mozilla Bug 362788</a>
-<p id="display"></p>
-<div id="content" style="display: none">
-
-</div>
-<pre id="test">
-<script class="testbody" type="text/javascript">
-<![CDATA[
-
-/** Test for Bug 362788 **/
-var Cc = SpecialPowers.Cc;
-var Ci = SpecialPowers.Ci;
-var lib = Cc["@mozilla.org/url-classifier/jslib;1"]
- .getService().wrappedJSObject;
-ok(!!lib, "unable to get wrapped js object");
-
-
-// Make sure we strip off the query params from the key url.
-var tests = [
- [ "https://sb-ssl.google.com/safebrowsing/getkey?client=navclient-auto-ffox2.0&",
- "https://sb-ssl.google.com/safebrowsing/getkey" ],
- [ "https://sb-ssl.google.com/safebrowsing/getkey?client=navclient-auto-ffox2.0.0.1&",
- "https://sb-ssl.google.com/safebrowsing/getkey" ],
-
- // The lack of a ? shouldn't make us explode.
- [ "https://sb-ssl.google.com/safebrowsing/getkey",
- "https://sb-ssl.google.com/safebrowsing/getkey" ]
-];
-
-for (var i = 0, testCase = null; testCase = tests[i]; ++i) {
- var url = lib.PROT_UrlCryptoKeyManager.prototype.getPrefName_(testCase[0]);
- ok(url == testCase[1], "unexpected url: " + url);
-}
-
-]]>
-</script>
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/testing/mochitest/tests/index.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<html>
-<head>
- <!-- This harness does not work locally in Safari -->
- <script type="application/javascript" src="SimpleTest/StructuredLog.jsm"></script>
- <script type="text/javascript" src="../MochiKit/MochiKit.js"></script>
- <script type="text/javascript" src="SimpleTest/MemoryStats.js"></script>
- <script type="text/javascript" src="SimpleTest/TestRunner.js"></script>
- <script type="text/javascript" src="SimpleTest/MozillaLogger.js"></script>
- <!--<link rel="stylesheet" type="text/css" href="/static/main.css" />-->
-</head>
-<body>
-<p><a href="#" id="runtests">Click To Run Tests</a></p>
-<!--<div id="mt_maketemplate">Make Template for Bug <input type="text" /></div>-->
-<script type="text/javascript">
-
-TestRunner.logEnabled = true;
-TestRunner.logger = new Logger();
-
-// Check the query string for arguments
-var params = parseQueryString(location.search.substring(1), true);
-
-// log levels for console and logfile
-var fileLevel = params.fileLevel || null;
-var consoleLevel = params.consoleLevel || null;
-
-// closeWhenDone tells us to close the browser when complete
-if (params.closeWhenDone) {
- TestRunner.onComplete = SpecialPowers.quit;
-}
-
-// logFile to write our results
-if (params.logFile) {
- var spl = SpecialPowersLogger(params.logFile);
- TestRunner.logger.addListener("mozLogger", fileLevel + "", spl.getLogCallback());
-}
-
-var RunSet = {};
-RunSet.runall = function() {
- TestRunner.runTests(
- 'test_bug362788.xhtml'
- );
-};
-RunSet.reloadAndRunAll = function() {
- if (params.autorun) {
- window.location.href = window.location.href;
- } else if (location.search) {
- window.location.href = window.location.href + "&autorun=1";
- } else {
- window.location.href = window.location.href + "?autorun=1";
- }
-};
-
-// run automatically if
-if (params.autorun) {
- RunSet.runall();
-}
-
-// hook up our buttons
-connect("runtests", "onclick", RunSet, "reloadAndRunAll");
-
-</script>
-<small>Based on the <a href="http://www.mochikit.com/">MochiKit</a> unit tests.</small>
-</body>
-</html>