mirror of
https://github.com/nodejs/node.git
synced 2026-11-15 10:36:53 -05:00
According to WPT: 1. `URLSearchParams` constructor should throw exactly `TypeError` if any Error occurrs. 2. When a record passed to `URLSearchParams` constructor, two different key may result same after `toUVString()`. We should leave only the later one. PR-URL: https://github.com/nodejs/node/pull/41197 Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>