github web-platform-tests/wpt merge_pr_47884

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
12 months ago

When doing lazy parsing, update the parser's offset correctly.

This would mistakenly not being updated after skipping a block,
which could cause us to somehow go backwards in the stream at the
wrong time, ignoring the rest of the block.

This would only happen in nesting, since seeing a bare ident
would trigger a restart, which happened to use this offset
before it would be corrected by the next Consume() call.

Fixed: 362674384
Change-Id: I8236adbab640b61d45fd2d9e412ac1cffc88d302
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5823485
Auto-Submit: Steinar H Gunderson sesse@chromium.org
Commit-Queue: Steinar H Gunderson sesse@chromium.org
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Commit-Queue: Anders Hartvoll Ruud andruud@chromium.org
Cr-Commit-Position: refs/heads/main@{#1349121}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.