I'm not sure what "better" means in this context. beforeunload is part
of the web platform; I highly doubt that its usage is small enough that
Servo could get away with not implementing it, so it's simply a
constraint we need to ensure we _can_ support while we're designing the
architecture of loading and unloading documents. pagehide and pageshow
events are other constraints as well.
Cheers,
Josh
On 02/19/2014 01:55 PM, Pete Otaqui wrote:
Hi,
in regards to the discussion about "document loading and beforeunload", I'm
guessing you're all aware of why beforeunload is frowned upon and why pagehide / pageshow
were proposed as better? I only ask because some of the questions about beforeunload
weren't answered by referring them at all.
Apologies if I'm teaching grannies to suck eggs, but if you haven't read this
you might find it interesting:
https://developer.mozilla.org/en-US/docs/Using_Firefox_1.5_caching#New_browser_events
https://www.webkit.org/blog/516/webkit-page-cache-ii-the-unload-event/
Cheers, and all the best with Servo!
On Monday, 10 February 2014 21:03:34 UTC+2, Josh Matthews wrote:
https://github.com/mozilla/servo/wiki/Meeting-2014-02-10
This one's a doozy! Enjoy!
Cheers,
Josh
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo