mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #13081 - hsinewu:nodelist-iterable, r=Ms2ger
make nodeList iterable <!-- Please describe your changes on the following line: --> Not sure what to test in the script. Need some advice. o_O --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #13021 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13081) <!-- Reviewable:end -->
This commit is contained in:
commit
1901a21a2c
3 changed files with 44 additions and 1 deletions
|
@ -12,5 +12,5 @@ interface NodeList {
|
|||
getter Node? item(unsigned long index);
|
||||
[Pure]
|
||||
readonly attribute unsigned long length;
|
||||
// iterable<Node>;
|
||||
iterable<Node?>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue