Closed CaerusKaru closed 1 year ago
We (mostly me) talked about this issue in: https://github.com/video-dev/hls.js/pull/1841#issuecomment-408563367
This information could be relevant to you as well (the caveats part). Or if you disagree with them, you could tell me why I'm wrong 😉
Also see
Closing as accessing document
and window
directly is not recommended and should not be encouraged.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
I'm submitting a ...
What modules are related to this Issue?
Current behavior?
Globals like
document
andwindow
are available in Domino, but are not patched before app renderExpected behavior?
These globals should be available to applications and libraries during render, via a proxy patch (so that each request gets its own document and window)
Minimal reproduction with instructions
Access
document.body
in any part of the applicationEnvironment:
@nguniversal versions