[whatwg/url] Should URLSearchParams stringify be called in URL constructor? (#350)

```
const url = new URL('http://www.example.com/a=b,c');
const params = url.searchParams;

assert_equals(url.toString(), 'http://www.example.com/a=b,c');
```

```
const url = new URL('http://www.example.com/');
const params = url.searchParams;

params.append('a', 'b,c')

assert_equals(url.toString(), 'http://www.example.com/a=b%2Cc');
```
I feel this difference a bit inconsistent. Is it intentional?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/350

Received on Monday, 30 October 2017 04:11:38 UTC