2023-01-18 20:41:12 +03:00
|
|
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#location
|
2023-03-05 01:16:07 +03:00
|
|
|
[Exposed=Window, UseNewAKString]
|
2023-01-18 20:41:12 +03: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;
|
|
|
|
|
|
|
|
// TODO: [LegacyUnforgeable] undefined assign(USVString url);
|
|
|
|
[LegacyUnforgeable] undefined replace(USVString url);
|
|
|
|
[LegacyUnforgeable] undefined reload();
|
|
|
|
|
|
|
|
// TODO: [LegacyUnforgeable, SameObject] readonly attribute DOMStringList ancestorOrigins;
|
|
|
|
};
|