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

Unified Diff: LayoutTests/fast/dom/Node/script-tests/contains-method.js

Issue 978223002: Add [TypeChecking=Interface] to Node interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test wrt isSameNode() change Created 5 years, 9 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/contains-method.js
diff --git a/LayoutTests/fast/dom/Node/script-tests/contains-method.js b/LayoutTests/fast/dom/Node/script-tests/contains-method.js
index 99c74177d446a3ae5cd8c0922dd4176ab124908f..a8dc2183743a684483a13bd03f0bad7e14f38eb6 100644
--- a/LayoutTests/fast/dom/Node/script-tests/contains-method.js
+++ b/LayoutTests/fast/dom/Node/script-tests/contains-method.js
@@ -14,7 +14,7 @@ shouldBeTrue("document.contains(test1TextChild)");
shouldBeTrue("document.contains(document)");
shouldBeTrue("test1.contains(test1)");
shouldBeTrue("test1TextChild.contains(test1TextChild)");
-shouldBeFalse("test1.contains(123)");
+shouldThrow("test1.contains(123)");
shouldBeFalse("test1.contains(null)");
// Cross document tests
« no previous file with comments | « LayoutTests/fast/dom/Node/contains-method-expected.txt ('k') | LayoutTests/fast/dom/incompatible-operations.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698