Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/Document.currentScript.html

Issue 1292863003: update-w3c-deps import using blink e60a8575c2fa4bc64b804926b956b695a3ac158e: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tkent review Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/Document.currentScript.html
diff --git a/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/Document.currentScript.html b/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/Document.currentScript.html
deleted file mode 100644
index 364c094a5174830a3fc6987ee6944c558d314b42..0000000000000000000000000000000000000000
--- a/LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/Document.currentScript.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML>
-<meta charset=utf-8>
-<title>Document.currentScript</title>
-<link rel=help href="https://html.spec.whatwg.org/multipage/#dom-document-currentscript">
-<link rel=help href="https://html.spec.whatwg.org/multipage/#execute-the-script-block">
-<script src="../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-var expected = [
- "parse-inline",
- "parse-ext",
- "dom-inline",
- "dom-ext",
-];
-var tests = {};
-expected.forEach(function(id) {
- tests[id] = async_test("Script " + id);
-});
-function verifyScript(id) {
- tests[id].step(function() {
- assert_equals(document.currentScript, document.getElementById(id));
- this.done();
- });
-}
-</script>
-
-<!-- Test parser inserted scripts -->
-<script id="parse-inline">
-verifyScript("parse-inline");
-</script>
-<script id="parse-ext" src="data:text/plain,verifyScript('parse-ext');"></script>
-
-<!-- Test DOM inserted scripts -->
-<script>
-var s = document.createElement("script");
-s.textContent = "verifyScript('dom-inline');";
-s.id = "dom-inline";
-document.body.appendChild(s);
-
-s = document.createElement("script");
-s.src = "data:text/plain,verifyScript('dom-ext');";
-s.id = "dom-ext";
-document.body.appendChild(s);
-</script>

Powered by Google App Engine
This is Rietveld 408576698