diff options
author | Gregory Terzian <gterzian@users.noreply.github.com> | 2018-03-31 23:07:03 +0800 |
---|---|---|
committer | Gregory Terzian <gterzian@users.noreply.github.com> | 2018-05-04 15:15:12 +0800 |
commit | a1d1b187102b340ba65955f2c4f1131c8276d050 (patch) | |
tree | 6a3d919dae4028f0acae60b89cda6e9d93361b10 /components | |
parent | a5a120f30ae412a110ac9f2a7528ec6eff06329c (diff) | |
download | servo-a1d1b187102b340ba65955f2c4f1131c8276d050.tar.gz servo-a1d1b187102b340ba65955f2c4f1131c8276d050.zip |
PutForward=href on window and document location
Diffstat (limited to 'components')
-rw-r--r-- | components/script/dom/webidls/Document.webidl | 2 | ||||
-rw-r--r-- | components/script/dom/webidls/Window.webidl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/Document.webidl b/components/script/dom/webidls/Document.webidl index fbb4787ab89..9212bb4b99b 100644 --- a/components/script/dom/webidls/Document.webidl +++ b/components/script/dom/webidls/Document.webidl @@ -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; diff --git a/components/script/dom/webidls/Window.webidl b/components/script/dom/webidls/Window.webidl index 034684c1744..37bba020622 100644 --- a/components/script/dom/webidls/Window.webidl +++ b/components/script/dom/webidls/Window.webidl @@ -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; |