diff --git a/test/wpt/test-url.js b/test/wpt/test-url.js index f381c439fbeffdb..419c48715feab01 100644 --- a/test/wpt/test-url.js +++ b/test/wpt/test-url.js @@ -11,7 +11,7 @@ runner.setScriptModifier((obj) => { // created via `document.createElement`. So we need to ignore them and just // test `URL`. obj.code = obj.code.replace(/\["url", "a", "area"\]/, '[ "url" ]'); - } else if (typeof FormData === 'undefined' && // eslint-disable-line + } else if (typeof FormData === 'undefined' && obj.filename.includes('urlsearchparams-constructor.any.js')) { // TODO(XadillaX): Remove this `else if` after `FormData` is supported.