- From: Aryeh Gregor <ayg@aryeh.name>
- Date: Fri, 13 Jan 2012 13:28:18 -0500
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: Ojan Vafai <ojan@chromium.org>, Simon Pieters <simonp@opera.com>, Ryosuke Niwa <rniwa@webkit.org>, Ehsan Akhgari <ehsan@mozilla.com>, Stig Halvorsen <stighal@opera.com>, W3C WebApps WG <public-webapps@w3.org>
On Fri, Jan 13, 2012 at 12:34 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > I would prefer a definition that doesn't involve defaultView, actually. I > don't expect browsers to converge defaultView behavior any time in the near > or medium future, so the testability would be illusory: tests would just > depend on whether browsers implement defaultView "correctly"... What well-defined alternative do you suggest? "Is the .document of some Window"? That would be easy enough to test in simple cases, but what if there's navigation and a reference to the Document is kept but the Window is no longer accessible, or something like that?
Received on Friday, 13 January 2012 19:35:16 UTC