DescriptionAdd [TypeChecking=Interface] to XPath interfaces
Also make all arguments non-optional, make some nullable, change the type
of XPathResult input arguments to "object?" and drop the custom bindings
for DocumentXPathEvaluator.evaluate() (which did nothing special at all).
All this matches Firefox's behavior, and the informal "specification" at
https://wiki.whatwg.org/wiki/DOM_XPath as well as, to some degree, the
older specification at http://www.w3.org/TR/DOM-Level-3-XPath.
The changed type of XPathResult input arguments means that any object can
be used for those arguments, but the value is not used at all in our
implementation anyway, so strictly checking that an XPathResult is passed
serves little purpose in practice.
BUG=462561
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191546
Patch Set 1 #
Total comments: 3
Patch Set 2 : make some arguments optional again #Patch Set 3 : fix CG for any/object argument with default value #
Total comments: 6
Patch Set 4 : revert test change; no longer needed #Messages
Total messages: 16 (3 generated)
|