[Webkit-unassigned] [Bug 252755] New: Media Source Extensions doesn't work in Iframe with Sandbox attribute.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 22 09:03:42 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=252755

            Bug ID: 252755
           Summary: Media Source Extensions doesn't work in Iframe with
                    Sandbox attribute.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Frames
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sebastian.arguello+webkit at gmail.com

Read access from Media Source from video element is incorrectly blocked inside iframe with Sandbox attribute, breaking the Media Source Extension (MSE) functionality.
As shown in the demo below, a stream is not needed to repro this error. Just by setting the video element to read from a Media Source is enough to get the error.


Iframe configuration: iframe, sandbox, allow-scripts.

Repro: https://jsfiddle.net/juqts7pb/

Error returned:
Not allowed to load local resource: blob:null/49224ea5-e3cd-4232-88d6-a35871f1c7dc

Expected behavior: MSE should work correctly inside Sandboxed iframes.

I was able to repro this on Safari on Mac and Ipad. Safari on Iphone doesn't support MSE.

Related bugs:

- https://bugs.webkit.org/show_bug.cgi?id=170075
- https://bugs.webkit.org/show_bug.cgi?id=222312

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230222/b8203310/attachment-0001.htm>


More information about the webkit-unassigned mailing list