Spinning off from https://github.com/whatwg/html/issues/1956#issuecomment-256521393, we should investigate to what extent browsers execute scripts in navigated-away-from documents. (The difference between "active" and "fully active" is also worth testing here.)
Right now the spec only stops script execution if the document does not have a browsing context. But this should probably be extended, based at least on some preliminary tests.
Also we should consider different types of scripts, like event handler attributes.
Spinning off from https://github.com/whatwg/html/issues/1956#issuecomment-256521393, we should investigate to what extent browsers execute scripts in navigated-away-from documents. (The difference between "active" and "fully active" is also worth testing here.)
Right now the spec only stops script execution if the document does not have a browsing context. But this should probably be extended, based at least on some preliminary tests.
Also we should consider different types of scripts, like event handler attributes.