2023-01-18 17:41:12 +00:00
|
|
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#location
|
2023-09-03 02:00:01 +12:00
|
|
|
[Exposed=Window]
|
2023-01-18 17:41:12 +00:00
|
|
|
interface Location { // but see also additional creation steps and overridden internal methods
|
|
|
|
[LegacyUnforgeable] stringifier attribute USVString href;
|
|
|
|
[LegacyUnforgeable] readonly attribute USVString origin;
|
|
|
|
[LegacyUnforgeable] attribute USVString protocol;
|
|
|
|
[LegacyUnforgeable] attribute USVString host;
|
|
|
|
[LegacyUnforgeable] attribute USVString hostname;
|
|
|
|
[LegacyUnforgeable] attribute USVString port;
|
|
|
|
[LegacyUnforgeable] attribute USVString pathname;
|
|
|
|
[LegacyUnforgeable] attribute USVString search;
|
|
|
|
[LegacyUnforgeable] attribute USVString hash;
|
|
|
|
|
2023-05-15 20:11:38 +01:00
|
|
|
[LegacyUnforgeable] undefined assign(USVString url);
|
2023-01-18 17:41:12 +00:00
|
|
|
[LegacyUnforgeable] undefined replace(USVString url);
|
|
|
|
[LegacyUnforgeable] undefined reload();
|
|
|
|
|
2024-05-19 22:15:54 +12:00
|
|
|
[FIXME, LegacyUnforgeable, SameObject] readonly attribute DOMStringList ancestorOrigins;
|
2023-01-18 17:41:12 +00:00
|
|
|
};
|