This comment is added to avoid future question about `urlAnchor.href` self assignment, see #1085.
…o avoid IE10 errors
Avoids constructing a URL such as `?a=1#hash&b=2` by stripping the hash altogether as that value is never supposed to be sent to server anyway. Fixes #1055
Before they would get serialized literally as "null" or "undefined".
Basically the same fix as 9a35627
This fixes large, unsafe integers to be deserialized as numbers and thus their value broken because of overflow. This reverts #865 because it was a wrong direction to go in. The test assertion was broken in the first place because it used an unsafely large integer to begin with.