W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

load event after window.location.replace ?

From: David Karger <karger@mit.edu>
Date: Thu, 31 May 2012 22:51:40 -0400
Message-ID: <4FC82E3C.2060308@mit.edu>
To: www-dom@w3.org
The working draft is unclear on the following question: if 
window.location.replace() is invoked, should a "load" event fire when 
the new content arrives?  A quick test 
(http://people.csail.mit.edu/karger/Scrapelet/Dev/testload.html) 
demonstrates that current browsers do *not* fire a load event for the 
replaced content.  If that is correct, then how are we supposed to 
detect that the replaced content has finished loading?
Received on Friday, 1 June 2012 02:51:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT