Deal with non-fully active documents
Closed this issue · 2 comments
marcoscaceres commented
What should we do if the API gets used from a non-fully active document?
fallaciousreasoning commented
As in, in an iframe? (sorry, not familiar with that term).
marcoscaceres commented
Yep... basically, if you have an iframe, and .remove()
it, it becomes "non-fully active"... however, you can steal a reference to the API, which means it can still be used. Good description here:
https://www.w3.org/TR/design-principles/#support-non-fully-active