HTMLTrackElement: 'error' event is fired if the 'src' attr is removed
Reported by
kirill.o...@gmail.com,
Aug 25 2017
|
||||
Issue description
Chrome Version : Chromium 62.0.3197.0 on Linux
Other browsers tested:
WebKit: OK on the latest build from SVN
Firefox: OK on 55.0.2
What steps will reproduce the problem?
(1) load some TextTrack
(2) textTrack.onerror = ...
(3) textTrack.removeAttribute('src')
What is the expected result?
TextTrackCueList should be cleared and no events should be fired
What happens instead?
'error' event is fired
Looks like a regression after
https://chromium.googlesource.com/chromium/src/+/fdcfc1a3f75e73341d8cf76fa51d935212a42146
that was not covered by the tests at all and thats why was not catched.
,
Aug 25 2017
,
Aug 28 2017
As mentioned in the review, this is expected behavior: "If fetching fails for any reason (...), or if URL is the empty string, then ... and then fire an event named error at the track element." https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks
,
Aug 28 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by kirill.o...@gmail.com
, Aug 25 2017