From e415d2c220add670673250f45e0183daa2da25a4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 18 Dec 2021 22:22:52 -0800 Subject: [PATCH 1/2] test: correct param name in JSDoc comment --- test/common/wpt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/wpt.js b/test/common/wpt.js index b0536f0bcc8a71..652d195750f00e 100644 --- a/test/common/wpt.js +++ b/test/common/wpt.js @@ -58,7 +58,7 @@ 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 + * @param {boolean} asFetch if true, return the resource in a * pseudo-Response object. */ read(from, url, asFetch = true) { From 19fc7bf421856d308204bb8256733f502e67fceb Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 19 Dec 2021 07:59:44 -0800 Subject: [PATCH 2/2] Update test/common/wpt.js Co-authored-by: Antoine du Hamel --- test/common/wpt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/wpt.js b/test/common/wpt.js index 652d195750f00e..2a772f6f0fa8b1 100644 --- a/test/common/wpt.js +++ b/test/common/wpt.js @@ -59,7 +59,7 @@ class ResourceLoader { * relative to thw WPT folder. * @param {string} url the url of the resource being loaded. * @param {boolean} asFetch if true, return the resource in a - * pseudo-Response object. + * pseudo-Response object. */ read(from, url, asFetch = true) { const file = this.toRealFilePath(from, url);