Bug 312389

Summary: [CMake] Add YouTubeCaptionQuirk.js to WebCore_USER_AGENT_SCRIPTS for macOS
Product: WebKit Reporter: Brandon <brandonstewart>
Component: Tools / TestsAssignee: Brandon <brandonstewart>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Brandon
Reported 2026-04-15 10:38:30 PDT
YouTubeCaptionQuirk.js was added to USER_AGENT_SCRIPTS in DerivedSources.make (Xcode build) but the CMake equivalent in PlatformMac.cmake was not updated. This caused the generated UserAgentScripts.h to lack the YouTubeCaptionQuirkJavaScript declaration, resulting in a build failure in RenderThemeCocoa.mm.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-15 10:38:38 PDT
Brandon
Comment 2 2026-04-15 10:39:34 PDT
EWS
Comment 3 2026-04-15 15:28:05 PDT
Committed 311324@main (8cc33de017ef): <https://commits.webkit.org/311324@main> Reviewed commits have been landed. Closing PR #62827 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.