[Bug 12283] <video> No indication of parsing error

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

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-08-16 04:19:30 UTC ---
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Partially Accepted
Change Description: see diff given below
Rationale: 

If there was a network error and the data is incomplete, then an 'error' event
gets fired. That's already specified.

Since some formats (e.g. XML formats) report errors for syntax errors I've
added support for firing 'error' in such cases. Note that WebVTT is more like
HTML or CSS in this regard and does not distinguish syntax errors from
forward-compatible parsing rules, so WebVTT files will never fire 'error'
events in this way.

A script that wants to test for completeness in metadata tracks can always just
put a sentinel cue at the end of the file and check for it.

User agents are, of course, always allowed to report this kind of thing to the
user. Given how unlikely it is for authors to actually check for this kind of
thing, if you think it is a concern for your users, I strongly recommend that
you handle this at the UA level rather than relying on scripts.

-- 
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 Tuesday, 16 August 2011 04:19:32 UTC