@@ -33,9 +33,14 @@ async function main() {
33
33
34
34
const filterGlobs = process . argv . length >= 3 ? process . argv . slice ( 2 ) : [ '**/*.html' ] ;
35
35
const excludeGlobs = [
36
+ 'piping/general-addition.any.html' , // FIXME: reenable this test as part of https://github.com/whatwg/streams/issues/1243.
36
37
// These tests use ArrayBuffers backed by WebAssembly.Memory objects, which *should* be non-transferable.
37
38
// However, our TransferArrayBuffer implementation cannot detect these, and will incorrectly "transfer" them anyway.
38
- 'readable-byte-streams/non-transferable-buffers.any.html'
39
+ 'readable-byte-streams/non-transferable-buffers.any.html' ,
40
+ 'readable-streams/owning-type-message-port.any.html' , // disabled due to MessagePort use.
41
+ 'readable-streams/owning-type-video-frame.any.html' , // disabled due to VideoFrame use.
42
+ 'readable-streams/owning-type.any.html' , // FIXME: reenable this test once owning type PR lands.
43
+ 'transferable/transform-stream-members.any.html' // FIXME: reenable if structuredClone is aligned.
39
44
] ;
40
45
const anyTestPattern = / \. a n y \. h t m l $ / ;
41
46
@@ -46,6 +51,7 @@ async function main() {
46
51
rootURL : 'streams/' ,
47
52
setup ( window ) {
48
53
window . queueMicrotask = queueMicrotask ;
54
+ window . structuredClone = globalThis . structuredClone ;
49
55
window . fetch = async function ( url ) {
50
56
const filePath = path . join ( wptPath , url ) ;
51
57
if ( ! filePath . startsWith ( wptPath ) ) {
0 commit comments