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

Re: [whatwg] pagehide vs pagevis

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 29 May 2013 01:11:07 -0400
Message-ID: <51A58DEB.8020702@mit.edu>
To: whatwg@lists.whatwg.org
On 5/29/13 12:55 AM, Brady Eidson wrote:
>> This expectation was always wrong: events can be dispatched by script at any time to pages in the page cache.
> I'm sorry, who's page cache are you talking about?

Gecko's, which initially defined the pagehide/pageshow events.  ;)

>  Page caches are (AFAIK) not really fleshed out in any spec, and the WebKit page cache *intends* to represent a 100% inert page.  This includes the inability to receive events.

So what happens when script calls dispatchEvent on a node that's in a 
document that's in your page cache?

> Can you provide a specific link to relevant threads you're thinking of?  I can't guess what search terms you intend for me to use.

Searching for "unload" and "pagehide" should probably find the right 
threads.  At least that's where I'd start searching, if I were searching.

Received on Wednesday, 29 May 2013 05:11:37 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:59 UTC