Changeset 216532 in webkit
- Timestamp:
- May 9, 2017 12:15:31 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r216529 r216532 1 2017-05-09 Matt Lewis <jlewis3@apple.com> 2 3 Unreviewed, rolling out r216508. 4 5 The layout test enabled in this change is failing on Sierra. 6 7 Reverted changeset: 8 9 "Invalid MediaSource duration value should throw TyperError 10 instead of InvalidStateError" 11 https://bugs.webkit.org/show_bug.cgi?id=171653 12 http://trac.webkit.org/changeset/216508 13 1 14 2017-05-09 Matt Lewis <jlewis3@apple.com> 2 15 -
trunk/LayoutTests/platform/gtk/TestExpectations
r216508 r216532 251 251 webkit.org/b/167108 imported/w3c/web-platform-tests/media-source/mediasource-config-change-webm-v-framerate.html [ Failure ] 252 252 webkit.org/b/167108 imported/w3c/web-platform-tests/media-source/mediasource-config-change-webm-v-framesize.html [ Failure ] 253 webkit.org/b/167108 imported/w3c/web-platform-tests/media-source/mediasource-duration-boundaryconditions.html [ Failure ] 253 254 webkit.org/b/167108 imported/w3c/web-platform-tests/media-source/mediasource-duration.html [ Failure ] 254 255 webkit.org/b/167108 imported/w3c/web-platform-tests/media-source/mediasource-endofstream.html [ Failure ] -
trunk/LayoutTests/platform/mac/TestExpectations
r216508 r216532 1002 1002 webkit.org/b/161725 [ Yosemite+ ] imported/w3c/web-platform-tests/media-source/mediasource-appendbuffer-quota-exceeded.html [ Skip ] 1003 1003 webkit.org/b/161725 [ Yosemite+ ] imported/w3c/web-platform-tests/media-source/mediasource-config-change-mp4-av-framesize.html [ Skip ] 1004 webkit.org/b/161725 [ Yosemite+ ] imported/w3c/web-platform-tests/media-source/mediasource-duration-boundaryconditions.html [ Skip ] 1004 1005 webkit.org/b/161725 [ Yosemite+ ] imported/w3c/web-platform-tests/media-source/mediasource-endofstream.html [ Skip ] 1005 1006 webkit.org/b/161725 [ Yosemite+ ] imported/w3c/web-platform-tests/media-source/mediasource-errors.html [ Skip ] -
trunk/Source/WebCore/ChangeLog
r216531 r216532 1 2017-05-09 Matt Lewis <jlewis3@apple.com> 2 3 Unreviewed, rolling out r216508. 4 5 The layout test enabled in this change is failing on Sierra. 6 7 Reverted changeset: 8 9 "Invalid MediaSource duration value should throw TyperError 10 instead of InvalidStateError" 11 https://bugs.webkit.org/show_bug.cgi?id=171653 12 http://trac.webkit.org/changeset/216508 13 1 14 2017-05-09 Michael Catanzaro <mcatanzaro@igalia.com> 2 15 -
trunk/Source/WebCore/Modules/mediasource/MediaSource.cpp
r216509 r216532 464 464 { 465 465 // 2.1 Attributes - Duration 466 // https:// www.w3.org/TR/2016/REC-media-source-20161117/#attributes466 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#attributes 467 467 468 468 // On setting, run the following steps: 469 // 1. If the value being set is negative or NaN then throw a TypeErrorexception and abort these steps.469 // 1. If the value being set is negative or NaN then throw an INVALID_ACCESS_ERR exception and abort these steps. 470 470 if (duration < 0.0 || std::isnan(duration)) 471 return Exception { TypeError};472 473 // 2. If the readyState attribute is not "open" then throw an I nvalidStateErrorexception and abort these steps.471 return Exception { INVALID_ACCESS_ERR }; 472 473 // 2. If the readyState attribute is not "open" then throw an INVALID_STATE_ERR exception and abort these steps. 474 474 if (!isOpen()) 475 475 return Exception { INVALID_STATE_ERR }; 476 476 477 // 3. If the updating attribute equals true on any SourceBuffer in sourceBuffers, then throw an I nvalidStateError477 // 3. If the updating attribute equals true on any SourceBuffer in sourceBuffers, then throw an INVALID_STATE_ERR 478 478 // exception and abort these steps. 479 479 for (auto& sourceBuffer : *m_sourceBuffers) { … … 489 489 { 490 490 // 2.4.6 Duration Change 491 // https:// www.w3.org/TR/2016/REC-media-source-20161117/#duration-change-algorithm491 // https://rawgit.com/w3c/media-source/45627646344eea0170dd1cbc5a3d508ca751abb8/media-source-respec.html#duration-change-algorithm 492 492 493 493 MediaTime newDuration = duration;
Note: See TracChangeset
for help on using the changeset viewer.