| Index: third_party/WebKit/LayoutTests/html/document-metadata/resources/head-check.js
|
| diff --git a/third_party/WebKit/LayoutTests/html/document-metadata/resources/head-check.js b/third_party/WebKit/LayoutTests/html/document-metadata/resources/head-check.js
|
| deleted file mode 100644
|
| index cb4d34d3aace33bf8df674e264d727f7cf7d410b..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/html/document-metadata/resources/head-check.js
|
| +++ /dev/null
|
| @@ -1,30 +0,0 @@
|
| -var maxTests = 4;
|
| -var currentTest = 1;
|
| -var iframe;
|
| -
|
| -if (window.testRunner) {
|
| - window.testRunner.waitUntilDone();
|
| -}
|
| -
|
| -function testAndLoadNext() {
|
| - iframe = document.getElementById("iframe");
|
| - if (iframe.src.substring(0, 5) == "data:") {
|
| - iframe.src = "resources/head-check-" + currentTest + ".html";
|
| - return;
|
| - }
|
| - debug("Testing: " + iframe.src.substring(iframe.src.lastIndexOf("/") + 1));
|
| - shouldBe("iframe.contentWindow.document.getElementsByTagName('head').length", "1");
|
| - shouldBe("iframe.contentWindow.document.firstChild.firstChild.nodeName.toLowerCase()", "'head'");
|
| - debug("");
|
| - if (currentTest < maxTests) {
|
| - currentTest++;
|
| - iframe.src = "data:text/html,";
|
| - }
|
| - else {
|
| - iframe.style.display = "none";
|
| - debug('<span class="pass">TEST COMPLETE</span>');
|
| - if (window.testRunner) {
|
| - window.testRunner.notifyDone();
|
| - }
|
| - }
|
| -}
|
|
|