[Bug 14294] <track> Should say that the parser can return with an error state or "not processed successfully" state, so that 'error' fires instead of 'load' on <track> if the webvtt signature is wrong

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14294

Simon Pieters <simonp@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NEEDSINFO                   |

--- Comment #2 from Simon Pieters <simonp@opera.com> 2011-10-22 12:36:37 UTC ---
It's just a bit confusing:

[[
f the file was not successfully processed, e.g. the format in question is an
XML format and the file contained a well-formedness error that the XML
specification requires be detected and reported to the application, then fire a
simple event named error at the track element.

Note: The WebVTT format does not report errors in this fashion.
]]

But if the file is not WebVTT (because the signature is wrong), we want an
error event. So consider TTML, which is XML. If it contains a well-formedness
error, it is by definition not XML, and therefore also not TTML. Does error
fire?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 22 October 2011 12:36:39 UTC