Chromium Code Reviews
DescriptionImplement SetWrapperReferenceFrom idl attribute within traceWrappers for media tracks
SetWrapperReferenceFrom(param) idl attribute denotes that when a <param> object
is alive, current object should be kept alive too. To implement the same logic
using tracing, we need to find a path from <param> object to the current object.
For the media tracks, HTMLMediaElement has to trace its track lists, and lists
have to track their elements. Audio and Video tracklists and tracks are tested
in media/avtrack/gc.html. TextTrackList, TextTrack, and VTTCue are tested in media/track/track-cue-gc-wrapper.html.
Follow status of tracing SetWrapperReferenceFrom here:
https://docs.google.com/a/google.com/spreadsheets/d/1HY7Flx2TTyWIi9S2efRWMG2nRl84E7UB2t7dx_b5K00/edit?usp=sharing
LOG=no
BUG=468240
Committed: https://crrev.com/3b6f13e00cd8cd441b8f7518f02266dc46ff4888
Cr-Commit-Position: refs/heads/master@{#393282}
Patch Set 1 #Patch Set 2 : Add tests #
Total comments: 2
Patch Set 3 : Remove unnecessary tracing #Messages
Total messages: 11 (5 generated)
|