PutForward=href on window and document location

This commit is contained in:
Gregory Terzian 2018-03-31 23:07:03 +08:00
parent a5a120f30a
commit a1d1b18710
4 changed files with 2 additions and 21 deletions

View file

@ -83,7 +83,7 @@ dictionary ElementCreationOptions {
// [OverrideBuiltins]
partial /*sealed*/ interface Document {
// resource metadata management
[/*PutForwards=href, */Unforgeable]
[PutForwards=href, Unforgeable]
readonly attribute Location? location;
[SetterThrows] attribute DOMString domain;
readonly attribute DOMString referrer;

View file

@ -12,7 +12,7 @@
attribute DOMString name;
[/*PutForwards=href, */Unforgeable] readonly attribute Location location;
[PutForwards=href, Unforgeable] readonly attribute Location location;
readonly attribute History history;
[Pref="dom.customelements.enabled"]
readonly attribute CustomElementRegistry customElements;