Skip to content

Commit

Permalink
fixup! lib: add FormData global when fetch is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Feb 13, 2022
1 parent 8c65ee0 commit 56a2970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/wpt/test-url.js
Expand Up @@ -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.

Expand Down

0 comments on commit 56a2970

Please sign in to comment.