File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ class WPTRunner {
365365 const worker = new Worker ( workerPath , {
366366 execArgv : this . flags ,
367367 workerData : {
368- filename : testFileName ,
368+ testRelativePath : relativePath ,
369369 wptRunner : __filename ,
370370 wptPath : this . path ,
371371 initScript : this . initScript ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ global.require = require;
1818// in Node.js, but some tests and harness depend on this to pull
1919// resources.
2020global . fetch = function fetch ( file ) {
21- return resource . read ( workerData . filename , file , true ) ;
21+ return resource . read ( workerData . testRelativePath , file , true ) ;
2222} ;
2323
2424if ( workerData . initScript ) {
Original file line number Diff line number Diff line change 2020 "fail" : " FormData is not defined"
2121 },
2222 "url-constructor.any.js" : {
23- "fail" : " TODO: support relative fetch()"
24- },
25- "url-origin.any.js" : {
26- "fail" : " TODO: support relative fetch()"
23+ "requires" : [" small-icu" ]
2724 }
2825}
You can’t perform that action at this time.
0 commit comments