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

Unified Diff: Source/core/dom/Range.idl

Issue 410413002: Range.comparePoint should throw TypeError when refNode is not an object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « LayoutTests/fast/dom/Range/range-comparePoint-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Range.idl
diff --git a/Source/core/dom/Range.idl b/Source/core/dom/Range.idl
index 54d0b482e88f1e46c63b2536ba34c0f53f04077e..cb2d8fdd96599324dcbd78754025028f110ec6f9 100644
--- a/Source/core/dom/Range.idl
+++ b/Source/core/dom/Range.idl
@@ -62,7 +62,7 @@
[DeprecateAs=RangeDetach] void detach();
[RaisesException] boolean isPointInRange(Node refNode, long offset);
- [RaisesException] short comparePoint(Node refNode, long offset);
+ [RaisesException, TypeChecking=Interface] short comparePoint(Node refNode, long offset);
[RaisesException] boolean intersectsNode(Node refNode);
« no previous file with comments | « LayoutTests/fast/dom/Range/range-comparePoint-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698