Bug 290092

Summary: Media controls don't work when Trusted Types is enforced
Product: WebKit Reporter: Luke Warlow <lwarlow>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Luke Warlow
Reported 2025-03-20 02:39:59 PDT
Load data:text/html,<meta%20http-equiv="content-security-policy"%20content="require-trusted-types-for%20'script';"><video%20id="my-video"%20width="100%"%20controls="">%20<source%20src="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"%20type="video/mp4">%20</video> See the video controls don't show and that there's a TT error in web inspector.
Attachments
Luke Warlow
Comment 1 2025-03-20 04:39:16 PDT
*** This bug has been marked as a duplicate of bug 290037 ***
Luke Warlow
Comment 2 2025-03-20 04:39:52 PDT
Marked as duplicate, while it's not actually a duplicate it's the same underlying issue of not checking shouldBypassMainWorldContentSecurityPolicy
Note You need to log in before you can comment on or make changes to this bug.