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

Unified Diff: core/xml/XPathNSResolver.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/XPathExpression.idl ('k') | core/xml/XPathResult.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/xml/XPathNSResolver.idl
diff --git a/core/xml/XPathNSResolver.idl b/core/xml/XPathNSResolver.idl
index 2985d3a276de2a2ddd263ecc9e13cb86ee9ab225..e5888eeefa3e3a85d1163bae954ce9ffdeccb0c9 100644
--- a/core/xml/XPathNSResolver.idl
+++ b/core/xml/XPathNSResolver.idl
@@ -18,10 +18,16 @@
* Boston, MA 02110-1301, USA.
*/
+// http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathNSResolver
+
+// TODO(philipj): XPathNSResolver should be a callback interface. The spec
+// doesn't say so, but doing so would allow the custom bindings to be removed.
+// createNSResolver(Node nodeResolver) could simply return its argument, which
+// is what Gecko does. crbug.com/345529
+
[
- WillBeGarbageCollected,
+ GarbageCollected,
NoInterfaceObject
] interface XPathNSResolver {
DOMString? lookupNamespaceURI([Default=Undefined] optional DOMString prefix);
};
-
« no previous file with comments | « core/xml/XPathExpression.idl ('k') | core/xml/XPathResult.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698