WICG / document-picture-in-picture

https://wicg.github.io/document-picture-in-picture/
Other
56 stars 9 forks source link

Use [SecureContext] for DocumentPictureInPictureEvent #81

Closed foolip closed 1 year ago

foolip commented 1 year ago

This event can only be fired if documentPictureInPicture.requestWindow() is called, and that's behind [SecureContext] for both the documentPictureInPicture attribute and the DocumentPictureInPicture interface.

foolip commented 1 year ago

@domenic for review.

foolip commented 1 year ago

I checked to confirm there are other examples of [SecureContext] on event interfaces: https://w3c.github.io/push-api/#pushevent-interface https://w3c.github.io/payment-request/#paymentmethodchangeevent-interface