Bug 103412

Summary: Calling .removeCue() for a cue that was never added should raise a NOT_FOUND_ERR
Product: WebKit Reporter: Antoine Quint <graouts>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, feature-media-reviews, ojan, webkit-bug-importer, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://w3c-test.org/html/tests/submission/Opera/media/interfaces/TextTrack/removeCue.html
Attachments:
Description Flags
Patch none

Antoine Quint
Reported 2012-11-27 08:07:27 PST
We are failing the Opera-submitted test at http://w3c-test.org/html/tests/submission/Opera/media/interfaces/TextTrack/removeCue.html due to failing to raising an INVALID_STATE_ERR exception instead of the expected NOT_FOUND_ERR exception when calling .removeCue() for a cue that was not added on a given track. The spec is quite clear on that, we're not doing the right thing (see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-texttrack-removecue).
Attachments
Patch (4.81 KB, patch)
2012-11-28 08:19 PST, Antoine Quint
no flags
Radar WebKit Bug Importer
Comment 1 2012-11-27 08:07:53 PST
Antoine Quint
Comment 2 2012-11-28 08:19:07 PST
WebKit Review Bot
Comment 3 2012-11-28 10:56:40 PST
Comment on attachment 176488 [details] Patch Clearing flags on attachment: 176488 Committed r136026: <http://trac.webkit.org/changeset/136026>
WebKit Review Bot
Comment 4 2012-11-28 10:56:43 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.