LibWeb/HTML: Port Location to new String

This commit is contained in:
Linus Groh 2023-03-04 22:16:07 +00:00
commit 7d50be0b09
Notes: sideshowbarker 2024-07-16 23:29:49 +09:00
3 changed files with 74 additions and 56 deletions

View file

@ -1,5 +1,5 @@
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#location
[Exposed=Window]
[Exposed=Window, UseNewAKString]
interface Location { // but see also additional creation steps and overridden internal methods
[LegacyUnforgeable] stringifier attribute USVString href;
[LegacyUnforgeable] readonly attribute USVString origin;