tc39 / proposal-shadowrealm

ECMAScript Proposal, specs, and reference implementation for Realms
https://tc39.es/proposal-shadowrealm/
1.44k stars 67 forks source link

ShadowRealms WPT Failures #396

Closed mgaudet closed 1 month ago

mgaudet commented 9 months ago

Really appreciate the work that's happened to get web interfaces inside a ShadowRealm properly tested. I wanted to highlight some failures that I don't think are implementation specific, but rather test integration specific:

  1. /streams/readable-streams/cancel.any.shadowrealm.html fails because it calls into RandomPushSource, defined here, which uses setInterval.
  2. /streams/readable-streams/owning-type-video-frame.any.shadowrealm.html and friends can't run in a shadow realm because VideoFrame doesn't exist inside one.
caridy commented 9 months ago

/streams/readable-streams/cancel.any.shadowrealm.html fails because it calls into RandomPushSource, defined here, which uses setInterval.

We should resolve this one once we get setTimeout & co inside the shadow realm.

ptomato commented 1 month ago

Resolved by https://github.com/web-platform-tests/wpt/pull/48653. Feel free to open more issues or ping me if you discover more such failures.