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

Unified Diff: core/dom/TreeWalker.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/dom/TouchList.idl ('k') | core/dom/URL.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/TreeWalker.idl
diff --git a/core/dom/TreeWalker.idl b/core/dom/TreeWalker.idl
index 2fb6eb58a91b13612dfbecbc75d7b4b41498b015..6cfa8a33f2d08d5b874bb709507423464eca8e8f 100644
--- a/core/dom/TreeWalker.idl
+++ b/core/dom/TreeWalker.idl
@@ -18,22 +18,22 @@
* Boston, MA 02110-1301, USA.
*/
-// Introduced in DOM Level 2
+// https://dom.spec.whatwg.org/#interface-treewalker
+
[
SetWrapperReferenceTo(NodeFilter filter),
WillBeGarbageCollected,
] interface TreeWalker {
- readonly attribute Node root;
+ [SameObject] readonly attribute Node root;
readonly attribute unsigned long whatToShow;
- readonly attribute NodeFilter filter;
- [DeprecateAs=TreeWalkerExpandEntityReferences] readonly attribute boolean expandEntityReferences;
- [RaisesException=Setter] attribute Node currentNode;
+ readonly attribute NodeFilter? filter;
+ [RaisesException=Setter] attribute Node currentNode;
- [RaisesException] Node parentNode();
- [RaisesException] Node firstChild();
- [RaisesException] Node lastChild();
- [RaisesException] Node previousSibling();
- [RaisesException] Node nextSibling();
- [RaisesException] Node previousNode();
- [RaisesException] Node nextNode();
+ [RaisesException] Node? parentNode();
+ [RaisesException] Node? firstChild();
+ [RaisesException] Node? lastChild();
+ [RaisesException] Node? previousSibling();
+ [RaisesException] Node? nextSibling();
+ [RaisesException] Node? previousNode();
+ [RaisesException] Node? nextNode();
};
« no previous file with comments | « core/dom/TouchList.idl ('k') | core/dom/URL.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698