Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7571704

Browse filesBrowse files
cola119danielleadams
authored andcommitted
test: complete TODO in test/wpt/test-url.js
PR-URL: #43797 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 6bcd40d commit 7571704
Copy full SHA for 7571704

File tree

Expand file treeCollapse file tree

1 file changed

+0
-9
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-9
lines changed
Open diff view settings
Collapse file

‎test/wpt/test-url.js‎

Copy file name to clipboardExpand all lines: test/wpt/test-url.js
-9Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ 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' &&
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');
2314
}
2415
});
2516
runner.pretendGlobalThisAs('Window');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.