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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5979

           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
returning."

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 on the CC list for the bug.

Received on Thursday, 21 August 2008 15:31:51 UTC