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

Unified Diff: LayoutTests/fast/dom/Range/invalid-arguments-expected.txt

Issue 974823002: Add [TypeChecking=Interface] to Range interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add FIXME comments 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/Range/invalid-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/Range/invalid-arguments-expected.txt b/LayoutTests/fast/dom/Range/invalid-arguments-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d2edceae5b937848fa3c1904bb0e1a34c95a57e
--- /dev/null
+++ b/LayoutTests/fast/dom/Range/invalid-arguments-expected.txt
@@ -0,0 +1,20 @@
+CONSOLE WARNING: 'Range.compareNode()' is deprecated. Please use 'Range.compareBoundaryPoints()' instead.
+PASS range.compareBoundaryPoints(0, noRange) threw exception TypeError: Failed to execute 'compareBoundaryPoints' on 'Range': parameter 2 is not of type 'Range'..
+PASS range.compareNode(noNode) threw exception TypeError: Failed to execute 'compareNode' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.comparePoint(noNode, 0) threw exception TypeError: Failed to execute 'comparePoint' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.insertNode(noNode) threw exception TypeError: Failed to execute 'insertNode' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.intersectsNode(noNode) threw exception TypeError: Failed to execute 'intersectsNode' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.isPointInRange(noNode, 0) threw exception TypeError: Failed to execute 'isPointInRange' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.selectNode(noNode) threw exception TypeError: Failed to execute 'selectNode' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.selectNodeContents(noNode) threw exception TypeError: Failed to execute 'selectNodeContents' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.setEnd(noNode, 0) threw exception TypeError: Failed to execute 'setEnd' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.setEndAfter(noNode) threw exception TypeError: Failed to execute 'setEndAfter' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.setEndBefore(noNode) threw exception TypeError: Failed to execute 'setEndBefore' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.setStart(noNode, 0) threw exception TypeError: Failed to execute 'setStart' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.setStartAfter(noNode) threw exception TypeError: Failed to execute 'setStartAfter' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.setStartBefore(noNode) threw exception TypeError: Failed to execute 'setStartBefore' on 'Range': parameter 1 is not of type 'Node'..
+PASS range.surroundContents(noNode) threw exception TypeError: Failed to execute 'surroundContents' on 'Range': parameter 1 is not of type 'Node'..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/Range/invalid-arguments.html ('k') | LayoutTests/fast/dom/Range/range-compareNode.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698