Allow window.parent attribute to be relaceable by JavaScript.

This commit is contained in:
Jonathan Kingston 2018-06-13 07:38:07 -07:00
parent 5c4f54c403
commit 51db660175
2 changed files with 1 additions and 4 deletions

View file

@ -38,7 +38,7 @@
// attribute any opener;
// Note that this can return null in the case that the browsing context has been discarded.
// https://github.com/whatwg/html/issues/2115
readonly attribute WindowProxy? parent;
[Replaceable] readonly attribute WindowProxy? parent;
readonly attribute Element? frameElement;
//WindowProxy open(optional DOMString url = "about:blank", optional DOMString target = "_blank",
// optional DOMString features = "", optional boolean replace = false);