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

Unified Diff: LayoutTests/fast/dom/Node/script-tests/initial-values.js

Issue 14990005: Remove ENTITY_REFERENCE_NODE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove some empty lines Created 7 years, 7 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/fast/dom/Node/script-tests/initial-values.js
diff --git a/LayoutTests/fast/dom/Node/script-tests/initial-values.js b/LayoutTests/fast/dom/Node/script-tests/initial-values.js
index 6a5e835363ee5564aff985b494c32e2fdf1ec02f..926dedc915dd56bcd5766883d394e19f7331d4b9 100644
--- a/LayoutTests/fast/dom/Node/script-tests/initial-values.js
+++ b/LayoutTests/fast/dom/Node/script-tests/initial-values.js
@@ -156,16 +156,6 @@ shouldBe("element.prefix", "'html'");
shouldBe("element.nodeValue", "null");
shouldBe("element.attributes.toString()", "'[object NamedNodeMap]'");
-// Not possible to create Entity nodes via the DOM, WebKit doesn't create them from parsing
-
-shouldThrow("document.createEntityReference('gt')");
-var entityReference = xmlDoc.createEntityReference("gt");
-shouldBe("entityReference.nodeName", "'gt'");
-shouldBe("entityReference.localName", "null");
-shouldBe("entityReference.namespaceURI", "null");
-shouldBe("entityReference.prefix", "null");
-shouldBe("entityReference.nodeValue", "null");
-
// Not possible to create Notation nodes via the DOM, WebKit doesn't create them from parsing
shouldThrow("document.createProcessingInstruction('xml-stylesheet', 'type=\"text/xsl\" href=\"missing.xsl\"')");
« no previous file with comments | « LayoutTests/fast/dom/Node/initial-values-expected.txt ('k') | LayoutTests/fast/dom/Window/get-set-properties.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698