Re: [whatwg/streams] Specify realm for object creation (Issue #1213)

> But [wpt.fyi](https://wpt.fyi/results/streams/transform-streams/invalid-realm.window.html?label=experimental&label=master&aligned) says it passes on Chrome? (Adding a failing test sounds weird, such test should at least be marked as tentative.)

The test previously worked in Chrome, but updating our implementation to use [read requests](https://streams.spec.whatwg.org/#read-request) broke it (we switched from using promises to enqueuing microtasks directly, and it turns out that has different semantics in V8). Currently the Chrome dev channel is still on version 113, which is why it shows as passing on wpt.fyi. It will show as failing once the dev channel moves on to version 114.

As the test relies on behaviour that is not yet specced, I think you are right that it should be tentative. However, in general I think when we find a test gap it's good to write a test for it, even if for some reason we can't pass that test.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1213#issuecomment-1495456652
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/issues/1213/1495456652@github.com>

Received on Tuesday, 4 April 2023 07:07:56 UTC