File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ class WPTRunner {
366
366
const worker = new Worker ( workerPath , {
367
367
execArgv : this . flags ,
368
368
workerData : {
369
- filename : testFileName ,
369
+ testRelativePath : relativePath ,
370
370
wptRunner : __filename ,
371
371
wptPath : this . path ,
372
372
initScript : this . initScript ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ global.require = require;
18
18
// in Node.js, but some tests and harness depend on this to pull
19
19
// resources.
20
20
global . fetch = function fetch ( file ) {
21
- return resource . read ( workerData . filename , file , true ) ;
21
+ return resource . read ( workerData . testRelativePath , file , true ) ;
22
22
} ;
23
23
24
24
if ( workerData . initScript ) {
Original file line number Diff line number Diff line change 20
20
"fail" : " FormData is not defined"
21
21
},
22
22
"url-constructor.any.js" : {
23
- "fail " : " TODO: support relative fetch() "
23
+ "requires " : [ " small-icu " ]
24
24
},
25
25
"url-origin.any.js" : {
26
- "fail " : " TODO: support relative fetch() "
26
+ "requires " : [ " small-icu " ]
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments