W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2013

[whatwg] Possible bug in the way the spec about worker GC behavior

From: Ehsan Akhgari <ehsan@mozilla.com>
Date: Wed, 9 Oct 2013 18:12:38 -0400
Message-ID: <CANTur_56K-XW30yFf2qEOWpK9myJb-fJGamUtzEzwgy53PH0gA@mail.gmail.com>
To: whatwg <whatwg@lists.whatwg.org>
Right now the spec says[1] "Whenever a Document object is discarded, it
must be removed from the list of the worker's Documents of each worker
whose list contains that Document.".  If I'm reading this correctly, this
implies that the worker object should be alive by the time that the
document gets discarded, which is not what Gecko implements.

Should this be fixed in the spec?

[1] <

Received on Wednesday, 9 October 2013 22:13:44 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:11 UTC