| Index: Source/core/html/HTMLTrackElement.cpp
|
| diff --git a/Source/core/html/HTMLTrackElement.cpp b/Source/core/html/HTMLTrackElement.cpp
|
| index cfa7ea276f57c0b4c60fb7b16449db37193ac0e8..bd7f1c4477b2751edab42beee0213913640b133a 100644
|
| --- a/Source/core/html/HTMLTrackElement.cpp
|
| +++ b/Source/core/html/HTMLTrackElement.cpp
|
| @@ -274,7 +274,7 @@ void HTMLTrackElement::didCompleteLoad(LoadableTextTrack*, LoadStatus status)
|
|
|
| if (status == Failure) {
|
| setReadyState(HTMLTrackElement::TRACK_ERROR);
|
| - dispatchEvent(Event::create(eventNames().errorEvent, false, false), IGNORE_EXCEPTION_STATE);
|
| + dispatchEvent(Event::create(eventNames().errorEvent, false, false), IGNORE_EXCEPTION);
|
| return;
|
| }
|
|
|
| @@ -285,7 +285,7 @@ void HTMLTrackElement::didCompleteLoad(LoadableTextTrack*, LoadStatus status)
|
|
|
| // 2. If the file was successfully processed, fire a simple event named load at the
|
| // track element.
|
| - dispatchEvent(Event::create(eventNames().loadEvent, false, false), IGNORE_EXCEPTION_STATE);
|
| + dispatchEvent(Event::create(eventNames().loadEvent, false, false), IGNORE_EXCEPTION);
|
| }
|
|
|
| // NOTE: The values in the TextTrack::ReadinessState enum must stay in sync with those in HTMLTrackElement::ReadyState.
|
|
|