Maybe "attachedCallback should not be called in documents that do not have a browsing context" is simpler and more direct.