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); |
}; |
- |