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

Unified Diff: LayoutTests/fast/dom/Node/isSupported.html

Issue 133703014: Remove Node.isSupported (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/isSupported.html
diff --git a/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data.html b/LayoutTests/fast/dom/Node/isSupported.html
similarity index 50%
copy from LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data.html
copy to LayoutTests/fast/dom/Node/isSupported.html
index 04eea69e3d6a17f321704d8eb02d20eb56e0ac65..ee8bf89d434c02671e6c55a75e2e807f4846a27f 100644
--- a/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data.html
+++ b/LayoutTests/fast/dom/Node/isSupported.html
@@ -5,10 +5,9 @@
</head>
<body>
<script>
-['?>', 'foo?>bar'].forEach(function(data)
-{
- shouldThrow("document.createProcessingInstruction('name', '" + data + "')");
-});
+description("Node.isSupported should not exist");
+var node = new DocumentFragment();
+shouldBeFalse("'isSupported' in node");
</script>
</body>
</html>
« no previous file with comments | « LayoutTests/dom/xhtml/level2/html/HTMLDocument27-expected.txt ('k') | LayoutTests/fast/dom/Node/isSupported-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698