In cases where appending data with webkitSourceAppend() triggers a MEDIA_ERR_SOURCE_NOT_SUPPORTED error, the m_sourceState was not being reset to SOURCE_CLOSED. This was causing future calls to webkitSourceAppend() after the error to actually make calls to m_player->sourceAppend() instead of throwing an INVALID_STATE_ERR exception like they were supposed to.
This was causing crashes in Chromium because the code assumes that once it reports the error to WebKit it won't get any more calls to m_player->sourceAppend().
Created attachment 139052 [details]
Comment on attachment 139052 [details]
Clearing flags on attachment: 139052
Committed r115380: <http://trac.webkit.org/changeset/115380>
All reviewed patches have been landed. Closing bug.