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

Unified Diff: third_party/WebKit/Source/core/dom/StaticRange.idl

Issue 2791373002: [InputEvent] Make StaticRange immutable and move tests to wpt (Closed)
Patch Set: Fix global-interface-listing Created 3 years, 8 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 | « third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/StaticRange.idl
diff --git a/third_party/WebKit/Source/core/dom/StaticRange.idl b/third_party/WebKit/Source/core/dom/StaticRange.idl
index 5cc6feec5138b51cf948536d1fcb463a2eda9b7c..9268a947ca0a6ab5a2a5b969c6e7839f7aef727d 100644
--- a/third_party/WebKit/Source/core/dom/StaticRange.idl
+++ b/third_party/WebKit/Source/core/dom/StaticRange.idl
@@ -5,19 +5,11 @@
// https://garykac.github.io/staticrange/#interface-staticrange
[
- Constructor,
- ConstructorCallWith=Document,
- Exposed=Window,
RuntimeEnabled=InputEvent,
] interface StaticRange {
- attribute Node startContainer;
- attribute unsigned long startOffset;
- attribute Node endContainer;
- attribute unsigned long endOffset;
+ readonly attribute Node startContainer;
+ readonly attribute unsigned long startOffset;
+ readonly attribute Node endContainer;
+ readonly attribute unsigned long endOffset;
readonly attribute boolean collapsed;
-
- void setStart(Node node, unsigned long offset);
- void setEnd(Node node, unsigned long offset);
-
- [NewObject, RaisesException] Range toRange();
};
« no previous file with comments | « third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698