1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

LibWeb/HTML: Port Location to new String

This commit is contained in:
Linus Groh 2023-03-04 22:16:07 +00:00
parent 7800276c0f
commit 7d50be0b09
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;