Open JVariance opened 1 year ago
@steimelchrome Is this expected that the API doesn't work from extension pages?
Yes we don't currently allow the API to work from extension pages in Chrome. I don't know that it's technically infeasible to eventually support but since IIUC those are not attached to a WebContents then most of the code just doesn't work as is
For extension pages, my test results are:
requestWindow()
I'm working on a webextension and tried
documentPictureInPicture.requestWindow()
from within a sidePanel. Unfortunately it doesn't work from there (onenter and window attributes are both null).