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

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

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
« no previous file with comments | « Source/core/dom/Range.cpp ('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 fbdfb04c99655fa422dd4677f0458238c2a01436..15f1fd74d2d9fc9c11737e566dfc08d2c9c4308f 100644
--- a/Source/core/dom/Range.idl
+++ b/Source/core/dom/Range.idl
@@ -25,6 +25,7 @@
Constructor,
ConstructorCallWith=Document,
WillBeGarbageCollected,
+ TypeChecking=Interface,
] interface Range {
readonly attribute Node startContainer;
readonly attribute long startOffset;
@@ -47,7 +48,7 @@
const unsigned short START_TO_END = 1;
const unsigned short END_TO_END = 2;
const unsigned short END_TO_START = 3;
- [RaisesException, TypeChecking=Interface] short compareBoundaryPoints(unsigned short how, Range sourceRange);
+ [RaisesException] short compareBoundaryPoints(unsigned short how, Range sourceRange);
[RaisesException, CustomElementCallbacks] void deleteContents();
[RaisesException, CustomElementCallbacks] DocumentFragment extractContents();
@@ -59,7 +60,7 @@
[DeprecateAs=RangeDetach] void detach();
[RaisesException] boolean isPointInRange(Node node, long offset);
- [RaisesException, TypeChecking=Interface] short comparePoint(Node node, long offset);
+ [RaisesException] short comparePoint(Node node, long offset);
[RaisesException] boolean intersectsNode(Node node);
« no previous file with comments | « Source/core/dom/Range.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698