Changeset 190516 in webkit
- Timestamp:
- Oct 2, 2015, 12:51:21 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r190510 r190516 1 2015-10-02 Jer Noble <jer.noble@apple.com> 2 3 [MSE] Browser crashes when appending invalid data to MSE source buffer 4 https://bugs.webkit.org/show_bug.cgi?id=149689 5 6 Reviewed by Darin Adler. 7 8 * media/content/stpp.mp4: Added. 9 * media/media-source/media-source-stpp-crash-expected.txt: Added. 10 * media/media-source/media-source-stpp-crash.html: Added. 11 1 12 2015-10-02 Alex Christensen <achristensen@webkit.org> 2 13 -
trunk/Source/WebCore/ChangeLog
r190514 r190516 1 2015-10-02 Jer Noble <jer.noble@apple.com> 2 3 [MSE] Browser crashes when appending invalid data to MSE source buffer 4 https://bugs.webkit.org/show_bug.cgi?id=149689 5 6 Reviewed by Darin Adler. 7 8 Test: media/media-source/media-source-stpp-crash.html 9 10 Bail out early (as specced) after disconnecting the SourceBuffer from its MediaSource. 11 12 * Modules/mediasource/SourceBuffer.cpp: 13 (WebCore::SourceBuffer::sourceBufferPrivateDidReceiveInitializationSegment): 14 1 15 2015-10-02 Simon Fraser <simon.fraser@apple.com> 2 16 -
trunk/Source/WebCore/Modules/mediasource/SourceBuffer.cpp
r187377 r190516 1023 1023 // 2. If the initialization segment has no audio, video, or text tracks, then run the append error algorithm 1024 1024 // with the decode error parameter set to true and abort these steps. 1025 if ( !segment.audioTracks.size() && !segment.videoTracks.size() && !segment.textTracks.size())1025 if (segment.audioTracks.isEmpty() && segment.videoTracks.isEmpty() && segment.textTracks.isEmpty()) { 1026 1026 appendError(true); 1027 return; 1028 } 1027 1029 1028 1030 // 3. If the first initialization segment flag is true, then run the following steps:
Note:
See TracChangeset
for help on using the changeset viewer.