mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
add origin to location and url api
This commit is contained in:
parent
1ba1fb0b7f
commit
1ee9ccba21
11 changed files with 62 additions and 607 deletions
|
@ -6,7 +6,7 @@
|
|||
// https://html.spec.whatwg.org/multipage/#location
|
||||
[Unforgeable] interface Location {
|
||||
/*stringifier*/ attribute USVString href;
|
||||
// attribute USVString origin;
|
||||
readonly attribute USVString origin;
|
||||
attribute USVString protocol;
|
||||
attribute USVString host;
|
||||
attribute USVString hostname;
|
||||
|
|
|
@ -11,7 +11,7 @@ interface URL {
|
|||
|
||||
[SetterThrows]
|
||||
/*stringifier*/ attribute USVString href;
|
||||
// readonly attribute USVString origin;
|
||||
readonly attribute USVString origin;
|
||||
attribute USVString protocol;
|
||||
attribute USVString username;
|
||||
attribute USVString password;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue