Determine if we need to fire a terminated event in the receiving browsing context(s) #374
Comments
Research notesUsing WhatWG [1] as a reference, there are three possible events that may fire during step 2 of presentation termination (unloading the presentation document).
Comparing other device specs:
[1] https://html.spec.whatwg.org/multipage/browsers.html#prompt-to-unload-a-document |
|
Noting that other specs are not very consistent in whether they event when closing resources on unload, and that firing a However, I do think we should set the presentation connection states to Any other thoughts? |
mfoltzgoogle commentedNov 21, 2016
Currently, the steps for terminating a presentation don't fire a
terminatedevent on connections held by the receiver. If the process of closing the receiving browsing context could allow script to run, then we should consider firing this event (on the top-level or nested browsing contexts). Doing so may be redundant with the 'beforeunload' event however.Reference material: