[Webkit-unassigned] [Bug 251835] New: The Document object is leaked on some pages using media (like YouTube.com)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 6 21:19:35 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=251835
Bug ID: 251835
Summary: The Document object is leaked on some pages using
media (like YouTube.com)
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: simon.fraser at apple.com
Launch a recent Safari or MiniBrowser build from terminal (so you can see the output), and visit a YouTube.com video page (or a page with YouTube.com in a subframe). In that tab, navigate to about:blank, then trigger the low memory handler (to clear caches):
> notifyutil -p "org.WebKit.lowMemory"
then dump the list of live documents:
> notifyutil -p "com.apple.WebKit.showAllDocuments"
Note that the YouTube document, and probably several other documents are listed.
Tests also show leaked Documents:
run-webkit-tests media --world-leaks shows that these tests trigger Document leaks:
media/W3C/audio/error/error_onerror_called_on_bogus_source.html
media/W3C/audio/networkState/networkState_during_loadstart.html
media/W3C/audio/src/src_reflects_attribute_not_source_elements.html
media/W3C/video/canPlayType/canPlayType_application_octet_stream_with_codecs_1.html
media/W3C/video/error/error_onerror_called_on_bogus_source.html
media/W3C/video/events/event_canplay.html
media/media-session/actionHandlerInternalMappings.html
media/media-session/mock-actionHandlers.html
media/media-session/user-gesture-action-handlers.html
media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-and-mouse-leave.html
media/modern-media-controls/overflow-support/playback-speed.html
media/modern-media-controls/time-control/time-control.html
media/modern-media-controls/tracks-support/text-track-selected-via-media-api.html
media/picture-in-picture/picture-in-picture-interruption.html
media/track/video-track-alternate-groups.html
platform/mac/media/encrypted-media/fps-generateRequest.html
See https://trac.webkit.org/wiki/Abandoned%20documents for Document leaks info
--
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/20230207/df6ec55f/attachment-0001.htm>
More information about the webkit-unassigned
mailing list