Bug 276332 - WebCodecs Audio and Video Encoder callbacks leak the Document object.
Summary: WebCodecs Audio and Video Encoder callbacks leak the Document object.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryan Reno
URL:
Keywords: InRadar
Depends on:
Blocks: 276167
  Show dependency treegraph
 
Reported: 2024-07-08 13:11 PDT by Ryan Reno
Modified: 2024-07-08 21:27 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Reno 2024-07-08 13:11:17 PDT
Like the Decoder counterparts, the WebCodecs encoders store refs to Strong callbacks which leak the Document.
Comment 1 Radar WebKit Bug Importer 2024-07-08 13:11:31 PDT
<rdar://problem/131327288>
Comment 2 Ryan Reno 2024-07-08 13:14:19 PDT
Pull request: https://github.com/WebKit/WebKit/pull/30574
Comment 3 EWS 2024-07-08 21:26:59 PDT
Committed 280762@main (a0a1e48bd8e0): <https://commits.webkit.org/280762@main>

Reviewed commits have been landed. Closing PR #30574 and removing active labels.