This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6353 - play() and pause() don't throw
Summary: play() and pause() don't throw
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 11:08 UTC by Simon Pieters
Modified: 2010-10-04 13:59 UTC (History)
3 users (show)

See Also:


Attachments

Description Simon Pieters 2009-01-05 11:08:08 UTC
Since load() doesn't throw exceptions any more (right?), the first step of the play() and pause() algorithms should probably change.

"If the media element's networkState attribute has the value NETWORK_EMPTY, then the user agent must invoke the load() method and wait for it to return. If that raises an exception, that exception must be reraised by the play() method."
Comment 1 Ian 'Hixie' Hickson 2009-01-05 11:12:40 UTC
Anything can throw; see section 5.4.3.4 "Killing scripts". Does that get me out of making this change? :-)
Comment 2 Ian 'Hixie' Hickson 2009-01-05 11:19:33 UTC
will fix...
Comment 3 Ian 'Hixie' Hickson 2009-04-01 00:21:13 UTC
i apparently fixed this a while back