Repository navigation
Commit c98ad65
committed
test(html): cover pages navigated away from before they arrive
Navigating elsewhere before a page arrives aborts the navigation to it,
and the handler drops the page when it does arrive, so only the last
page navigated to shows, however late the earlier ones answer. Without
the `event.signal.aborted` check, this test fails: the late page is
swapped in over the last one.
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 81cedcf commit c98ad65
1 file changed
Lines changed: 32 additions & 0 deletions
File tree
- e2e
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
152 | 184 | | |
153 | 185 | | |
154 | 186 | | |
| |||
0 commit comments