We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bcd40d commit 7571704Copy full SHA for 7571704
1 file changed
test/wpt/test-url.js
@@ -11,15 +11,6 @@ runner.setScriptModifier((obj) => {
11
// created via `document.createElement`. So we need to ignore them and just
12
// test `URL`.
13
obj.code = obj.code.replace(/\["url", "a", "area"\]/, '[ "url" ]');
14
- } else if (typeof FormData === 'undefined' &&
15
- obj.filename.includes('urlsearchparams-constructor.any.js')) {
16
- // TODO(XadillaX): Remove this `else if` after `FormData` is supported.
17
-
18
- // Ignore test named `URLSearchParams constructor, FormData.` because we do
19
- // not have `FormData`.
20
- obj.code = obj.code.replace(
21
- /('URLSearchParams constructor, object\.'\);[\w\W]+)test\(function\(\) {[\w\W]*?}, 'URLSearchParams constructor, FormData\.'\);/,
22
- '$1');
23
}
24
});
25
runner.pretendGlobalThisAs('Window');
0 commit comments