W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2008

[Bug 5979] New: unclear whether new Audio(url) should throw

From: <bugzilla@wiggum.w3.org>
Date: Thu, 21 Aug 2008 15:31:15 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-5979-2486@http.www.w3.org/Bugs/Public/>


           Summary: unclear whether new Audio(url) should throw
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: simonp@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org

The spec says:

"Two constructors are provided for creating HTMLAudioElement objects (in
addition to the factory methods from DOM Core such as createElement()): Audio()
and Audio(url). When invoked as constructors, these must return a new
HTMLAudioElement object (a new audio element). If the src argument is present,
the object created must have its src content attribute set to the provided
value, and the user agent must invoke the load() method on the object before

If the load() method raises an exception, should that exception be reraised by
the Audio constructor or should it be ignored?

(Editorial: the argument is called "url" but is referred to as "src".)

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 Thursday, 21 August 2008 15:31:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:00:46 UTC