Changeset 206211 in webkit


Ignore:
Timestamp:
Sep 21, 2016 9:25:14 AM (8 years ago)
Author:
jer.noble@apple.com
Message:

REGRESSION(r206127): ASSERTION FAILED: !isClosed() in WebCore::MediaSource::detachFromElement
https://bugs.webkit.org/show_bug.cgi?id=162307

Reviewed by Eric Carlson.

The test is crashing when the ScriptExecutionContext is calling stop() on the media element before
it's attached MediaSource has been open()ed, which is a valid state. Removing this ASSERT().

  • Modules/mediasource/MediaSource.cpp:

(WebCore::MediaSource::detachFromElement):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r206209 r206211  
     12016-09-21  Jer Noble  <jer.noble@apple.com>
     2
     3        REGRESSION(r206127): ASSERTION FAILED: !isClosed() in WebCore::MediaSource::detachFromElement
     4        https://bugs.webkit.org/show_bug.cgi?id=162307
     5
     6        Reviewed by Eric Carlson.
     7
     8        The test is crashing when the ScriptExecutionContext is calling stop() on the media element before
     9        it's attached MediaSource has been open()ed, which is a valid state. Removing this ASSERT().
     10
     11        * Modules/mediasource/MediaSource.cpp:
     12        (WebCore::MediaSource::detachFromElement):
     13
    1142016-09-19  Jer Noble  <jer.noble@apple.com>
    215
  • trunk/Source/WebCore/Modules/mediasource/MediaSource.cpp

    r206146 r206211  
    892892{
    893893    ASSERT_UNUSED(element, m_mediaElement == &element);
    894     ASSERT(!isClosed());
    895894
    896895    // 2.4.2 Detaching from a media element
Note: See TracChangeset for help on using the changeset viewer.