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

Unified Diff: Source/core/xml/XPathExpression.idl

Issue 983123003: Add [TypeChecking=Interface] to XPath interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Source/core/xml/XPathExpression.idl
diff --git a/Source/core/xml/XPathExpression.idl b/Source/core/xml/XPathExpression.idl
index 35ab9089439e80a55903c2acd40de36e6b5438a3..3b83cb1589c8376abb8c11b4f72b52ef4748d24a 100644
--- a/Source/core/xml/XPathExpression.idl
+++ b/Source/core/xml/XPathExpression.idl
@@ -19,10 +19,9 @@
*/
[
- WillBeGarbageCollected
+ WillBeGarbageCollected,
+ TypeChecking=Interface,
] interface XPathExpression {
- [RaisesException] XPathResult evaluate([Default=Undefined] optional Node contextNode,
- [Default=Undefined] optional unsigned short type,
- [Default=Undefined] optional XPathResult inResult);
+ [RaisesException] XPathResult evaluate(Node contextNode, unsigned short type, object? inResult);
};

Powered by Google App Engine
This is Rietveld 408576698