mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
Invalidate iterator over elements of a XPathResult when the document changes (#39411)
Also includes a fix to not throw a type error in `XPathResult.invalidIteratorState`. Testing: Includes a new web platform test Part of https://github.com/servo/servo/issues/34527 --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
9d7b438d6b
commit
2ccaf86ff6
4 changed files with 162 additions and 39 deletions
|
@ -21,7 +21,7 @@ interface XPathResult {
|
|||
[Throws] readonly attribute DOMString stringValue;
|
||||
[Throws] readonly attribute boolean booleanValue;
|
||||
[Throws] readonly attribute Node? singleNodeValue;
|
||||
[Throws] readonly attribute boolean invalidIteratorState;
|
||||
readonly attribute boolean invalidIteratorState;
|
||||
[Throws] readonly attribute unsigned long snapshotLength;
|
||||
|
||||
[Throws] Node? iterateNext();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue