Documentation
Vip 06

VIP-06 --- JavaScript URL Capability

The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in RFC 2119 (opens in a new tab).

draft optional

v-language:javascript

capability:URL


1. Capability Description

The URL capability makes the functionality provided by the URL API (opens in a new tab) available.

2. Available Symbols

The following table details what symbols are made available by this capability:

Symbol Name
URL
URL.URL()
URL.hash
URL.host
URL.hostname
URL.href
URL.origin
URL.password
URL.pathname
URL.port
URL.protocol
URL.search
URL.searchParams
URL.username
URL.createObjectURL()
URL.revokeObjectURL()
URL.toString()
URL.toJSON()
URLSearchParams
URLSearchParams.URLSearchParams()
URLSearchParams.append()
URLSearchParams.delete()
URLSearchParams.entries()
URLSearchParams.forEach()
URLSearchParams.get()
URLSearchParams.getAll()
URLSearchParams.has()
URLSearchParams.keys()
URLSearchParams.set()
URLSearchParams.sort()
URLSearchParams.toString()
URLSearchParams.values()