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

Unified Diff: LayoutTests/fast/dom/DOMImplementation/createDocumentType-null.html

Issue 104503006: Sync DOMImplementation IDL with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test Created 7 years 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/fast/dom/DOMImplementation/createDocumentType-null.html
diff --git a/LayoutTests/fast/dom/DOMImplementation/createDocumentType-null.html b/LayoutTests/fast/dom/DOMImplementation/createDocumentType-null.html
new file mode 100644
index 0000000000000000000000000000000000000000..60c452d46c946e6a33e973da3892b61c8c8c994e
--- /dev/null
+++ b/LayoutTests/fast/dom/DOMImplementation/createDocumentType-null.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<html>
+<head>
+<script src="../../../resources/js-test.js"></script>
+</head>
+<body>
+<script>
+var doctype = document.implementation.createDocumentType(null, null, null);
+shouldBeEqualToString("doctype.name", "null");
+shouldBeEqualToString("doctype.publicId", "null");
+shouldBeEqualToString("doctype.systemId", "null");
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698