Skip to content

WPT: Snapshot internal observers before Subscriber iterates over them#54725

Merged
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-6915657
Sep 5, 2025
Merged

WPT: Snapshot internal observers before Subscriber iterates over them#54725
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-6915657

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Sep 5, 2025

This behavior was already implemented in
https://crrev.com/c/6311209, which was a follow-up bug fix to
https://crrev.com/c/6221901. It was only recently spec'ed in
WICG/observable#214, and this CL adds a WPT for
it.

This behavior was obliquely tested by:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/dom/observable/tentative/observable-from.any.js;l=675-740;drc=5f8643cf150e97b694f2214ee092c34cc0ccf5fe,
as discovered in
keithamus/observable-polyfill#38, however this
CL adds a simpler, more direct test for this behavior.

R=jarhar

Bug: 40282760
Change-Id: I43748a09a2f5a235c25ffdbd807e630c187ef2b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6915657
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1511774}

This behavior was already implemented in
https://crrev.com/c/6311209, which was a follow-up bug fix to
https://crrev.com/c/6221901. It was only recently spec'ed in
WICG/observable#214, and this CL adds a WPT for
it.

This behavior was obliquely tested by:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/dom/observable/tentative/observable-from.any.js;l=675-740;drc=5f8643cf150e97b694f2214ee092c34cc0ccf5fe,
as discovered in
keithamus/observable-polyfill#38, however this
CL adds a simpler, more direct test for this behavior.

R=jarhar

Bug: 40282760
Change-Id: I43748a09a2f5a235c25ffdbd807e630c187ef2b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6915657
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1511774}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 826a9b6 into master Sep 5, 2025
22 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-6915657 branch September 5, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants