github web-platform-tests/wpt merge_pr_47881

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

DOM: Fix Observable#from() [Symbol.iterator] semantics (1/2)

See WICG/observable#160, which specs the
Observable#from() semantics, matching these tests. See also
https://crbug.com/363015168 which describes the ways in which our
current implementation of Observable#from()'s detection semantics
are overbroad.

This CL makes the implementation of the "detection semantics" match the
desired behavior outlined in that issue, and adds a bunch of tests.

R=masonf@chromium.org

Bug: 363015168, 40282760
Change-Id: Id6cfdd45c44286b298e107635e4283b018f50aaf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5824955
Commit-Queue: Dominic Farolino dom@chromium.org
Reviewed-by: Mason Freed masonf@chromium.org
Cr-Commit-Position: refs/heads/main@{#1349019}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.