Skip to content

Commit 0ea108b

Browse files
[DOM] Address infinite loop in TreeWalker's nextNode() whatwg/dom@e1e7699
1 parent 79e5a63 commit 0ea108b

1 file changed

Lines changed: 23 additions & 10 deletions

File tree

DOM4-ja.html

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@
276276
●●options
277277

278278
spec_title:DOM
279-
spec_date:2026-03-09
280-
trans_update:2026-03-13
279+
spec_date:2026-05-21
280+
trans_update:2026-05-25
281281
source_checked:251126
282282
spec_status:LS
283283
original_url:https://dom.spec.whatwg.org/
@@ -1364,6 +1364,7 @@
13641364
LegacyUnenumerableNamedProperties:~WEBIDLjs#LegacyUnenumerableNamedProperties
13651365
LegacyNullToEmptyString:~WEBIDLjs#LegacyNullToEmptyString
13661366

1367+
iterable:~WEBIDL#dfn-iterable
13671368
any:~WEBIDL#idl-any
13681369
unsigned short:~WEBIDL#idl-unsigned-short
13691370
unsigned long:~WEBIDL#idl-unsigned-long
@@ -2066,7 +2067,7 @@
20662067
[INFRA]
20672068
Anne van Kesteren; Domenic Denicola. <Infra Standard>. Living Standard. URL: https://infra.spec.whatwg.org/
20682069
[LONG-ANIMATION-FRAMES]
2069-
<Long Animation Frames API>. Editor's Draft. URL: https://w3c.github.io/long-animation-frames/
2070+
Noam Rosenthal. <Long Animation Frames API>. URL: https://w3c.github.io/long-animation-frames/
20702071
[POINTEREVENTS4]
20712072
Patrick Lauke; Robert Flack. <Pointer Events>. URL: https://w3c.github.io/pointerevents/
20722073
[SELECTORS4]
@@ -2121,7 +2122,7 @@
21212122
<a href="https://whatwg.org/chat">Chat on Matrix</a>
21222123
Commits:
21232124
https://github.com/whatwg/dom/commits
2124-
<a href="https://dom.spec.whatwg.org/commit-snapshots/9363c6ddac8491f9e4c20609bc0a161ffbf72901/">Snapshot as of this commit</a>
2125+
<a href="https://dom.spec.whatwg.org/commit-snapshots/e1e7699ff74d4de11d765668b334644e3efe9641/">Snapshot as of this commit</a>
21252126
<a href="https://twitter.com/thedomstandard">@thedomstandard</a>
21262127

21272128
Tests:
@@ -11310,7 +11311,7 @@ <h5 title="Interface NodeList">4.2.10.1. ^@NodeList ~interface</h5>
1131011311
interface @NodeList {
1131111312
getter $Node? $item(`unsigned long$ %index);
1131211313
readonly attribute `unsigned long$ $length;
11313-
iterable&lt;$Node&gt;;
11314+
`iterable$&lt;$Node&gt;;
1131411315
};
1131511316
1131611317

@@ -25371,7 +25372,6 @@ <h3 title="Interface TreeWalker">6.2. ^@TreeWalker ~interface</h3>
2537125372
<li>
2537225373
%~node ~SET %同胞
2537325374
25374-
2537525375
Set node to sibling.
2537625376
</li>
2537725377
<!--cp-let-filter-result-->
@@ -25635,11 +25635,10 @@ <h3 title="Interface TreeWalker">6.2. ^@TreeWalker ~interface</h3>
2563525635
~IF[
2563625636
%同胞 ~NEQ ~NULL
2563725637
25638-
⇒#
25639-
%~node ~SET %同胞;
25638+
2564025639
~BREAK
2564125640
25642-
If sibling is non-null, then set node to sibling and break.
25641+
If sibling is non-null, then break.
2564325642
</li>
2564425643
<li>
2564525644
%temporary ~SET %temporary の`親$
@@ -25648,6 +25647,20 @@ <h3 title="Interface TreeWalker">6.2. ^@TreeWalker ~interface</h3>
2564825647
</li>
2564925648
</ol>
2565025649
</li>
25650+
<li>
25651+
~IF[
25652+
%同胞 ~EQ ~NULL
25653+
25654+
25655+
~RET ~NULL
25656+
25657+
If sibling is null, then return null.
25658+
</li>
25659+
<li>
25660+
%~node ~SET %同胞
25661+
25662+
Set node to sibling.
25663+
</li>
2565125664
<!--cp-set-filter-result-->
2565225665
<!--cp-set-current-if-accept-->
2565325666
</ol>
@@ -25790,7 +25803,7 @@ <h3 title="Interface DOMTokenList">7.1. ^@DOMTokenList ~interface</h3>
2579025803
[`CEReactions$] $boolean $replace($DOMString %token, $DOMString %newToken);
2579125804
$boolean $supports($DOMString %token);
2579225805
[`CEReactions$] @stringifier attribute $DOMString $value;
25793-
iterable&lt;$DOMString&gt;;
25806+
`iterable$&lt;$DOMString&gt;;
2579425807
};
2579525808
2579625809

0 commit comments

Comments
 (0)