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

Unified Diff: core/xml/XPathResult.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/xml/XPathNSResolver.idl ('k') | core/xml/XSLTProcessor.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/xml/XPathResult.idl
diff --git a/core/xml/XPathResult.idl b/core/xml/XPathResult.idl
index f60a5eaac047722d8a0cda938a848ed6569014ba..319b719827c06c582688031fa917cd2df18133d0 100644
--- a/core/xml/XPathResult.idl
+++ b/core/xml/XPathResult.idl
@@ -17,9 +17,12 @@
* Boston, MA 02110-1301, USA.
*/
+// http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathResult
+
[
- WillBeGarbageCollected
+ GarbageCollected
] interface XPathResult {
+ // XPathResultType
const unsigned short ANY_TYPE = 0;
const unsigned short NUMBER_TYPE = 1;
const unsigned short STRING_TYPE = 2;
@@ -43,7 +46,6 @@
readonly attribute boolean invalidIteratorState;
[RaisesException=Getter] readonly attribute unsigned long snapshotLength;
- [RaisesException] Node iterateNext();
- [RaisesException] Node snapshotItem([Default=Undefined] optional unsigned long index);
+ [RaisesException] Node? iterateNext();
+ [RaisesException] Node? snapshotItem(unsigned long index);
};
-
« no previous file with comments | « core/xml/XPathNSResolver.idl ('k') | core/xml/XSLTProcessor.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698