From 5d6f8ef31d11ee66598999b1b749ba9ff767e4d5 Mon Sep 17 00:00:00 2001 From: Leon Clarke Date: Mon, 12 Jul 2010 16:00:49 +0100 Subject: Copy back the upstreamed version of prefetch https://bugs.webkit.org/show_bug.cgi?id=3652 Change-Id: Ibda522afed15e7581019a198e773785b7cad57ca --- .../dom/html/level2/html/HTMLLinkElement11.js | 51 ---------------------- 1 file changed, 51 deletions(-) delete mode 100644 LayoutTests/dom/html/level2/html/HTMLLinkElement11.js (limited to 'LayoutTests/dom/html/level2/html/HTMLLinkElement11.js') diff --git a/LayoutTests/dom/html/level2/html/HTMLLinkElement11.js b/LayoutTests/dom/html/level2/html/HTMLLinkElement11.js deleted file mode 100644 index b8bf1cb..0000000 --- a/LayoutTests/dom/html/level2/html/HTMLLinkElement11.js +++ /dev/null @@ -1,51 +0,0 @@ - - - /** - * Gets URI that identifies the test. - * @return uri identifier of test - */ -function getTargetURI() { - return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLLinkElement11"; - } - -var docsLoaded = 0; -var mainLoaded = false; -var cssLoaded = false; - -function finishTest() { - if (mainLoaded && cssLoaded) { - setResult(null, null); - } else { - if (!cssLoaded) { - setResult("fail", "No css onload fired"); - } else { - setResult("fail", "Css fired, but maybe the document onload didn't"); - } - } - if (window.layoutTestController) { - layoutTestController.notifyDone(); - } -} - -function loadComplete() { - mainLoaded = true; - if (++docsLoaded == 2) { - finishTest(); - } -} - -function cssComplete() { - cssLoaded = true; - if (++docsLoaded == 2) { - finishTest(); - } -} - - - -function startTest11() { - if (window.layoutTestController) { - layoutTestController.dumpAsText(); - layoutTestController.waitUntilDone(); - } -} -- cgit v1.1