| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // Note: The spec says "the XPathEvaluator interface will be implemented on the | 22 // Note: The spec says "the XPathEvaluator interface will be implemented on the |
| 23 // same object which implements the Document interface" and does not define a | 23 // same object which implements the Document interface" and does not define a |
| 24 // constructor or other means to create an XPathEvaluator object. Nonetheless, | 24 // constructor or other means to create an XPathEvaluator object. Nonetheless, |
| 25 // Blink, Gecko, Presto, WebKit and all have these APIs on both Document and the | 25 // Blink, Gecko, Presto, WebKit and all have these APIs on both Document and the |
| 26 // constructable XPathEvaluator interface. | 26 // constructable XPathEvaluator interface. |
| 27 | 27 |
| 28 [ | 28 [ |
| 29 Constructor, | 29 Constructor, |
| 30 GarbageCollected, | 30 GarbageCollected, |
| 31 Measure, | 31 Measure, |
| 32 TypeChecking=Interface, | |
| 33 ] interface XPathEvaluator { | 32 ] interface XPathEvaluator { |
| 34 [Measure, RaisesException] XPathExpression createExpression(DOMString expres
sion, optional XPathNSResolver? resolver = null); | 33 [Measure, RaisesException] XPathExpression createExpression(DOMString expres
sion, optional XPathNSResolver? resolver = null); |
| 35 | 34 |
| 36 [Measure] XPathNSResolver createNSResolver(Node nodeResolver); | 35 [Measure] XPathNSResolver createNSResolver(Node nodeResolver); |
| 37 | 36 |
| 38 [Measure, RaisesException] XPathResult evaluate(DOMString expression, Node c
ontextNode, optional XPathNSResolver? resolver = null, optional unsigned short t
ype = 0, optional object? inResult = null); | 37 [Measure, RaisesException] XPathResult evaluate(DOMString expression, Node c
ontextNode, optional XPathNSResolver? resolver = null, optional unsigned short t
ype = 0, optional object? inResult = null); |
| 39 }; | 38 }; |
| OLD | NEW |