Remove now-unnecessary hack
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Mon, 19 Sep 2011 14:28:11 -0600
changeset 595 ea6a5d169a17
parent 594 66aa66602f18
child 596 035a0c1a4ca1
Remove now-unnecessary hack

http://dvcs.w3.org/hg/html/rev/2b8d15522f69 should have made this
special case unnecessary. It was causing problems in IE, which was
loading testharness.js many times for some reason. This meant it only
wound up displaying the results for some of the tests, presumably the
ones run by the last load of testharness.js.
conformancetest/splitruntest.html
--- a/conformancetest/splitruntest.html	Mon Sep 19 12:55:17 2011 -0600
+++ b/conformancetest/splitruntest.html	Mon Sep 19 14:28:11 2011 -0600
@@ -26,12 +26,8 @@
 	var startTime = Date.now();
 
 	// Make document.body.innerHTML more tidy by removing unnecessary things.
-	// We can't remove the testharness.js script, because at the time of this
-	// writing, for some reason that stops it from adding appropriate CSS.
 	[].forEach.call(document.querySelectorAll("script"), function(node) {
-		if (!/testharness\.js$/.test(node.src)) {
-			node.parentNode.removeChild(node);
-		}
+		node.parentNode.removeChild(node);
 	});
 
 	var groupedBrowserTests = {};