Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Should Window spec add parentWindow property to documents?

documents Property Spec window
0
Posted

Should Window spec add parentWindow property to documents?

0

Window Object 1.0 calls for documents to implement the DocumentWindow interface, which inherits from AbstractView, and therefore gives a way to get the Window (but as an AbstractView) via the defaultView property. However, IE doesn’t implement this; instead it has a parentWindow property which gets you the document’s window object (*not* the parent document’s window object). Current implementation state is as follows: parentWindow defaultView IE Yes No Firefox No Yes Safari No Wrong Opera Yes Yes Options would be: 1) forget about defaultView, just have parentWindow 2) don’t add parentWindow 3) keep both I favor #3.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123