mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Expose Location only in Window
This commit is contained in:
parent
03d79185ff
commit
a5acf50b58
3 changed files with 1 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#location
|
||||
[Exposed=(Window,Worker), Unforgeable] interface Location {
|
||||
[Exposed=Window, Unforgeable] interface Location {
|
||||
/*stringifier*/ attribute USVString href;
|
||||
readonly attribute USVString origin;
|
||||
attribute USVString protocol;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue