Can this be used for content that would not otherwise be readable to the origin? The spec doesn't seem to prevent that.
Given that an element might be occluded or off-screen, that makes this very challenging ...even if access to this capability is gated behind consent prompts. That also makes this very different from asking for fullscreen/browser/tab capture.
I would prefer that this not be possible for elements that contain cross-origin content. Or, that the mechanism used for canvas (tainting) be used to cause content to be inaccessible if content is not readable by the origin.
Can this be used for content that would not otherwise be readable to the origin? The spec doesn't seem to prevent that.
Given that an element might be occluded or off-screen, that makes this very challenging ...even if access to this capability is gated behind consent prompts. That also makes this very different from asking for fullscreen/browser/tab capture.
I would prefer that this not be possible for elements that contain cross-origin content. Or, that the mechanism used for canvas (tainting) be used to cause content to be inaccessible if content is not readable by the origin.