mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Allow window.parent attribute to be relaceable by JavaScript.
This commit is contained in:
parent
5c4f54c403
commit
51db660175
2 changed files with 1 additions and 4 deletions
|
@ -38,7 +38,7 @@
|
||||||
// attribute any opener;
|
// attribute any opener;
|
||||||
// Note that this can return null in the case that the browsing context has been discarded.
|
// Note that this can return null in the case that the browsing context has been discarded.
|
||||||
// https://github.com/whatwg/html/issues/2115
|
// https://github.com/whatwg/html/issues/2115
|
||||||
readonly attribute WindowProxy? parent;
|
[Replaceable] readonly attribute WindowProxy? parent;
|
||||||
readonly attribute Element? frameElement;
|
readonly attribute Element? frameElement;
|
||||||
//WindowProxy open(optional DOMString url = "about:blank", optional DOMString target = "_blank",
|
//WindowProxy open(optional DOMString url = "about:blank", optional DOMString target = "_blank",
|
||||||
// optional DOMString features = "", optional boolean replace = false);
|
// optional DOMString features = "", optional boolean replace = false);
|
||||||
|
|
|
@ -50,9 +50,6 @@
|
||||||
[Window replaceable attribute: toolbar]
|
[Window replaceable attribute: toolbar]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Window replaceable attribute: parent]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Window replaceable attribute: external]
|
[Window replaceable attribute: external]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue