Skip to content

Commit

Permalink
PutForward=href on window and document location
Browse files Browse the repository at this point in the history
  • Loading branch information
gterzian committed May 4, 2018
1 parent a5a120f commit a1d1b18
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion components/script/dom/webidls/Document.webidl
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion components/script/dom/webidls/Window.webidl
Expand Up @@ -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;
Expand Down
Expand Up @@ -17,19 +17,3 @@

[Set data URL frame location.protocol to http+x]
expected: FAIL

[Set HTTP URL frame location.protocol to x]
expected: FAIL

[Set HTTP URL frame location.protocol to data]
expected: FAIL

[Set HTTP URL frame location.protocol to ftp]
expected: FAIL

[Set HTTP URL frame location.protocol to gopher]
expected: FAIL

[Set HTTP URL frame location.protocol to http+x]
expected: FAIL

Expand Up @@ -32,9 +32,6 @@
[Window attribute: onmousewheel]
expected: FAIL

[Window unforgeable attribute: location]
expected: FAIL

[Window replaceable attribute: locationbar]
expected: FAIL

Expand Down

0 comments on commit a1d1b18

Please sign in to comment.