File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ class WPTRunner {
366366 const worker = new Worker ( workerPath , {
367367 execArgv : this . flags ,
368368 workerData : {
369- filename : testFileName ,
369+ testRelativePath : relativePath ,
370370 wptRunner : __filename ,
371371 wptPath : this . path ,
372372 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() "
23+ "requires " : [ " small-icu " ]
2424 },
2525 "url-origin.any.js" : {
26- "fail " : " TODO: support relative fetch() "
26+ "requires " : [ " small-icu " ]
2727 }
2828}
You can’t perform that action at this time.
0 commit comments