Skip to content
Permalink
Browse files

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: #11369
Ref: #11234
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information...
joyeecheung authored and TimothyGu committed Feb 14, 2017
1 parent fa41dd1 commit 82ddf96828b1358e9d9abcff3c9b28bedb06a113
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/parallel/test-whatwg-url-searchparams-stringifier.js
@@ -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.

0 comments on commit 82ddf96

Please sign in to comment.
You can’t perform that action at this time.