REGRESSION(r206127): ASSERTION FAILED: !isClosed() in WebCore::MediaSource::detachFro...
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Sep 2016 16:25:14 +0000 (16:25 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Sep 2016 16:25:14 +0000 (16:25 +0000)
commitbd57052c3a544e91c868f8095a59043ab483cd1e
treefa00ab8998a28130c792656cb612ab4fc63245a0
parentab8d13a07dd0f14c7b9f2fa262cf189d131e0a8c
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@206211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediasource/MediaSource.cpp