Changeset 225567 in webkit
- Timestamp:
- Dec 5, 2017 9:25:15 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r225566 r225567 1 2017-12-05 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [GTK] Layout test media/track/track-in-band-duplicate-tracks-when-source-changes.html crashes and times out 4 https://bugs.webkit.org/show_bug.cgi?id=160131 5 6 Reviewed by Eric Carlson. 7 8 * platform/gtk/TestExpectations: 9 1 10 2017-12-05 Chris Dumez <cdumez@apple.com> 2 11 -
trunk/LayoutTests/platform/gtk/TestExpectations
r225561 r225567 3053 3053 webkit.org/b/163512 media/media-controls-accessibility.html [ Failure ] 3054 3054 webkit.org/b/163521 media/tab-focus-inside-media-elements.html [ Failure ] 3055 webkit.org/b/163523 media/track/track-manual-mode.html [ Failure Crash]3055 webkit.org/b/163523 media/track/track-manual-mode.html [ Failure ] 3056 3056 webkit.org/b/163524 media/track/video-track-alternate-groups.html [ Failure ] 3057 3057 webkit.org/b/163525 media/video-background-tab-playback.html [ Failure Pass Crash Timeout ] … … 3501 3501 webkit.org/b/160119 media/click-volume-bar-not-pausing.html [ Timeout Failure Pass ] 3502 3502 3503 # This one has its own bug because the crashes were preexisting; only the 3504 # timeout is caused by the switch to threaded compositor. 3505 webkit.org/b/160131 media/track/track-in-band-duplicate-tracks-when-source-changes.html [ Crash Timeout Pass ] 3503 webkit.org/b/160131 media/track/track-in-band-duplicate-tracks-when-source-changes.html [ Timeout Pass ] 3506 3504 3507 3505 webkit.org/b/160131 plugins/return-error-from-new-stream-doesnt-invoke-destroy-stream.html [ Timeout Pass ] -
trunk/Source/WebCore/ChangeLog
r225566 r225567 1 2017-12-05 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [GTK] Layout test media/track/track-in-band-duplicate-tracks-when-source-changes.html crashes and times out 4 https://bugs.webkit.org/show_bug.cgi?id=160131 5 6 Reviewed by Eric Carlson. 7 8 Null dereference can be happen if VideoTrack and AudioTrack are 9 disconnected from its media element. 10 11 No new tests, no behavior change. 12 13 * html/track/AudioTrack.cpp: 14 (WebCore::AudioTrack::willRemove): Null-check mediaElement. 15 * html/track/VideoTrack.cpp: 16 (WebCore::VideoTrack::setLanguage): Ditto. 17 1 18 2017-12-05 Chris Dumez <cdumez@apple.com> 2 19 -
trunk/Source/WebCore/html/track/AudioTrack.cpp
r222091 r225567 161 161 void AudioTrack::willRemove() 162 162 { 163 mediaElement()->removeAudioTrack(*this); 163 auto element = makeRefPtr(mediaElement()); 164 if (!element) 165 return; 166 element->removeAudioTrack(*this); 164 167 } 165 168 -
trunk/Source/WebCore/html/track/VideoTrack.cpp
r224390 r225567 211 211 // 4. Queue a task to fire a simple event named change at the VideoTrackList object referenced by 212 212 // the videoTracks attribute on the HTMLMediaElement. 213 mediaElement()->videoTracks().scheduleChangeEvent(); 213 if (mediaElement()) 214 mediaElement()->videoTracks().scheduleChangeEvent(); 214 215 } 215 216
Note: See TracChangeset
for help on using the changeset viewer.