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

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

Issue 1222503003: Sync XML-related interfaces with their specs, or lack thereof (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 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 | « Source/core/xml/XPathExpression.idl ('k') | Source/core/xml/XPathResult.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathNSResolver.idl
diff --git a/Source/core/xml/XPathNSResolver.idl b/Source/core/xml/XPathNSResolver.idl
index 37f45a5a5ed8f4e70cc623c8db7e518a8d1dae2b..e5888eeefa3e3a85d1163bae954ce9ffdeccb0c9 100644
--- a/Source/core/xml/XPathNSResolver.idl
+++ b/Source/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
+
[
GarbageCollected,
NoInterfaceObject
] interface XPathNSResolver {
DOMString? lookupNamespaceURI([Default=Undefined] optional DOMString prefix);
};
-
« no previous file with comments | « Source/core/xml/XPathExpression.idl ('k') | Source/core/xml/XPathResult.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698