Introduce the WHATWG URL and URLSearchParams APIs as intrinsic ECMAScript
objects.
Unify and standardize URL parsing and handling across ECMAScript environments.
Note: Node.js has introduced WHATWG compatible URL parsing as a stable feature in v8.0.
const base = new URL('http://example.org/foo');
const url = new URL('bar', base);The API would be as defined by the WHATWG URL specification.