Antenna.SuikaWiki

Web updates

HTML 94c1b7055c2a

Revert to doing unloading steps *after* pagehide This change reverts 386360c (https://github.com/whatwg/html/issues/3957). Specifically, it reorders two steps in the “unload a document” algorithm such that the spec once again requires UAs to wait to run any “unloading document visibility change steps” from other applicable specifications (in particular, the Page Visibility spec) until *after* firing the pagehide event. In practice, in combination with requirements in the Page Visibility spec, this change has the effect of stating that UAs must wait to fire the visibilitychange event until after the pagehide event has fired. That ordering matches the behavior current implemented in all engines. Otherwise, without this change, the ordering of firing for the events doesn’t match what implementations actually do. See also: * https://github.com/w3c/page-visibility/issues/39 *

Michael[tm] Smith