W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: Selection of a document that doesn't have a window

From: Aryeh Gregor <ayg@aryeh.name>
Date: Fri, 13 Jan 2012 13:28:18 -0500
Message-ID: <CAKA+AxmZLx3OYzFAN6Rz62irAgM3eGmbmRt88mL1Uyx6-EZrRg@mail.gmail.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:30 UTC