Skip to content

Commit 56a2970

Browse files
committed
fixup! lib: add FormData global when fetch is enabled
1 parent 8c65ee0 commit 56a2970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/wpt/test-url.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runner.setScriptModifier((obj) => {
1111
// created via `document.createElement`. So we need to ignore them and just
1212
// test `URL`.
1313
obj.code = obj.code.replace(/\["url", "a", "area"\]/, '[ "url" ]');
14-
} else if (typeof FormData === 'undefined' && // eslint-disable-line
14+
} else if (typeof FormData === 'undefined' &&
1515
obj.filename.includes('urlsearchparams-constructor.any.js')) {
1616
// TODO(XadillaX): Remove this `else if` after `FormData` is supported.
1717

0 commit comments

Comments
 (0)