Commit Graph

1 Commits

Author SHA1 Message Date
Boris Zbarsky
31d91ff3a9 Bug 690056. Implement a vendor-prefixed version of the visibility API. r=sicking
The idea is to fire the visibilitychange event synchronously during pageshow and pagehide, since we're
already running script there for the pageshow/pagehide events.  For docshell active state changes, we
fire the event asynchronously.  In all cases, the actual state changes just before the event fires.
2011-10-11 17:29:12 -04:00