Closed MattiasBuelens closed 1 year ago
I'm not entirely sure what the intention was here: does the spec need to be updated for this? confused
Yes. This is #1243. We plan to update the spec to require a microtask between enqueue()
and write()
, but we haven't done it yet.
Yes. This is #1243. We plan to update the spec to require a microtask between
enqueue()
andwrite()
, but we haven't done it yet.
Is #1243 easily resolvable? Another approach would be to move this specific test in a separate file and disable it in this repo until #1243 can be resolved.
https://github.com/whatwg/streams/pull/1282 is a new attempt at fixing the same issue. It basically takes this PR and add a few additional changes. PR CI is green.
Shall we close this one?
Closing, because superseded by #1282.
It looks like it's been a while since we synced the reference implementation with the latest WPT. This aims to fix that.
The following errors came up:
Error: Unexpected URL: /common/gc.js
: I opened https://github.com/domenic/wpt-runner/pull/27 to include this file.structuredClone is not defined
: I expose this function in the test runner, and bumped the CI to Node 18.enqueue() must not synchronously call write algorithm
: This test was added in https://github.com/web-platform-tests/wpt/pull/39103, but was not tested against the reference implementation. I'm not entirely sure what the intention was here: does the spec need to be updated for this? 😕