w3c/badging

Deal with non-fully active documents

Closed this issue · 2 comments

What should we do if the API gets used from a non-fully active document?

As in, in an iframe? (sorry, not familiar with that term).

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