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;

View file

@ -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

View file

@ -32,9 +32,6 @@
[Window attribute: onmousewheel]
expected: FAIL
[Window unforgeable attribute: location]
expected: FAIL
[Window replaceable attribute: locationbar]
expected: FAIL