Re: [webrtc-extensions] Add a CSP check to RTCPeerConnection.constructor(). (#81)

> This is because of ability to service worker to override security headers and thus to escape from the sandbox.

Can you expand on this? I'm not deeply familiar with service workers, how might they do this?

There does appear to be a `worker-src` directive: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/worker-src

-- 
GitHub Notification of comment by zenhack
Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/pull/81#issuecomment-871594020 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 June 2021 17:27:12 UTC