Bug 103412 - Calling .removeCue() for a cue that was never added should raise a NOT_FOUND_ERR
Summary: Calling .removeCue() for a cue that was never added should raise a NOT_FOUND_ERR
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://w3c-test.org/html/tests/submis...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-11-27 08:07 PST by Antoine Quint
Modified: 2012-11-28 10:56 PST (History)
5 users (show)

See Also:


Attachments
Patch (4.81 KB, patch)
2012-11-28 08:19 PST, Antoine Quint
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 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).
Comment 1 Radar WebKit Bug Importer 2012-11-27 08:07:53 PST
<rdar://problem/12757953>
Comment 2 Antoine Quint 2012-11-28 08:19:07 PST
Created attachment 176488 [details]
Patch
Comment 3 WebKit Review Bot 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>
Comment 4 WebKit Review Bot 2012-11-28 10:56:43 PST
All reviewed patches have been landed.  Closing bug.