The ancestorOrigins read-only property of the Location interface is a static browsing contexts of the document associated with the given Location object.
The host property of the Location interface is a string containing the host, which is the Location.hostname, and then, if the port of the URL is nonempty, a ':', followed by the Location.port of the URL.
The search property of the Location interface is a search string, also called a query string, that is a string containing a '?' followed by the parameters of the location's URL.