WPT details: There is a corresponding test in WPT: Setting <non-special://example.net:8080/path>.port = '65536' assert_equals: expected "http://example.net:8080/path" but got "http://example.net:0/path"
The port value will be checked when setting url.port. All the values that overflows the 16-bit numeric limit will be no longer valid. For instance the following script behave differently after the change: ``` u = new URL("http://test.com"); u.port = 65536; console.log(u.port); ``` Before the change the output is 65536. After the change the output will be 80.