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

Unified Diff: LayoutTests/fast/dom/Document/embeds-non-html.html

Issue 237233002: Move 'embeds' / 'plugins' attributes from HTMLDocument to Document (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Attempt to fix Windows build Created 6 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Document/embeds-non-html-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Document/embeds-non-html.html
diff --git a/LayoutTests/fast/dom/Document/scripts-non-html.html b/LayoutTests/fast/dom/Document/embeds-non-html.html
similarity index 56%
copy from LayoutTests/fast/dom/Document/scripts-non-html.html
copy to LayoutTests/fast/dom/Document/embeds-non-html.html
index 4d8340b85844b09ef3ab7c914614c9eaaa316413..799a9a06cfd1d92e2a8bfb2e356c367137bb6061 100644
--- a/LayoutTests/fast/dom/Document/scripts-non-html.html
+++ b/LayoutTests/fast/dom/Document/embeds-non-html.html
@@ -1,19 +1,20 @@
<!DOCTYPE html>
<html>
<head>
-<link rel="help" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-scripts"/>
+<link rel="help" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-embeds"/>
<script src="../../../resources/js-test.js"></script>
</head>
<body>
<script>
-description("Make sure the script attribute is exposed on non-HTML documents.");
+description("Make sure the embeds / plugins attributes are exposed on non-HTML documents.");
var xmlDocument = document.implementation.createDocument("", "", null);
shouldBe("xmlDocument.__proto__", "XMLDocument.prototype");
shouldBe("xmlDocument.__proto__.__proto__", "Document.prototype");
-shouldBe("xmlDocument.scripts.__proto__", "HTMLCollection.prototype");
-shouldBe("xmlDocument.scripts.length", "0");
+shouldBe("xmlDocument.embeds.__proto__", "HTMLCollection.prototype");
+shouldBe("xmlDocument.embeds.length", "0");
+shouldBe("xmlDocument.embeds", "xmlDocument.plugins");
</script>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Document/embeds-non-html-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698