test: turn on WPT tests on empty param pairs
This specific bug was fixed by #11234. This commit turns on the tests accordingly. PR-URL: https://github.com/nodejs/node/pull/11369 Ref: https://github.com/nodejs/node/pull/11234 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
fa41dd117d
commit
82ddf96828
@ -112,8 +112,8 @@ test(function() {
|
||||
|
||||
test(function() {
|
||||
var params;
|
||||
// params = new URLSearchParams('a=b&c=d&&e&&');
|
||||
// assert_equals(params.toString(), 'a=b&c=d&e=');
|
||||
params = new URLSearchParams('a=b&c=d&&e&&');
|
||||
assert_equals(params.toString(), 'a=b&c=d&e=');
|
||||
// params = new URLSearchParams('a = b &a=b&c=d%20');
|
||||
// assert_equals(params.toString(), 'a+=+b+&a=b&c=d+');
|
||||
// The lone '=' _does_ survive the roundtrip.
|
||||
|
Loading…
x
Reference in New Issue
Block a user