W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2006

[whatwg] Audio(): loop() with 0 or negative value as argument

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 26 May 2006 13:46:22 +0200
Message-ID: <20060526134622.lzk6mpgtrqqskwc0@webmail.annevankesteren.nl>
In Opera we now throw INDEX_SIZE_ERR when someone calls loop(x) on the  
Audio object with x being either 0 or negative. This seems to be  
consistent with how similar "errors" are treated in the <canvas>  
interface and makes sense to us. Our suggestion would be to put this  
into the specification, unless someone has a better suggestion.

(Note that loop() without arguments can be used for infinite repetition.)

Anne van Kesteren
Received on Friday, 26 May 2006 04:46:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:46 UTC