- From: Mattias Buelens <notifications@github.com>
- Date: Thu, 23 Jul 2020 13:45:21 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 23 July 2020 20:45:33 UTC
In web-platform-tests/wpt#24577, a window-only test was added which uses an `<iframe>` to check that `CountQueuingStrategy.prototype.size` and `ByteLengthQueuingStrategy.prototype.size` return different functions in different realms. However, we cannot emulate this easily with our JSDOM-based test runner, so the reference implementation fails this new test. This PR changes our test script to only run `.any.js` tests, since these should work regardless of the context. I've verified that all current tests indeed are `.any.js` tests, and still run with this new check. The only test that is excluded is the new `.window.js` test, which we probably don't want (or need) to test against the reference implementation. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/streams/pull/1058 -- Commit Summary -- * Update WPT -- File Changes -- M reference-implementation/run-web-platform-tests.js (6) M reference-implementation/web-platform-tests (2) -- Patch Links -- https://github.com/whatwg/streams/pull/1058.patch https://github.com/whatwg/streams/pull/1058.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/1058
Received on Thursday, 23 July 2020 20:45:33 UTC