diff --git a/test/common/wpt.js b/test/common/wpt.js index b0536f0bcc8a71..2a772f6f0fa8b1 100644 --- a/test/common/wpt.js +++ b/test/common/wpt.js @@ -58,8 +58,8 @@ class ResourceLoader { * @param {string} from the path of the file loading this resource, * relative to thw WPT folder. * @param {string} url the url of the resource being loaded. - * @param {boolean} asPromise if true, return the resource in a - * pseudo-Response object. + * @param {boolean} asFetch if true, return the resource in a + * pseudo-Response object. */ read(from, url, asFetch = true) { const file = this.toRealFilePath(from, url);