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 21050 - Use an optional NamedConstructor argument for HTMLAudioElement
Summary: Use an optional NamedConstructor argument for HTMLAudioElement
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Robin Berjon
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on: 21043
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-19 19:22 UTC by Edward O'Connor
Modified: 2013-03-11 16:13 UTC (History)
6 users (show)

See Also:


Attachments

Description Edward O'Connor 2013-02-19 19:22:50 UTC
+++ This bug was initially created as a clone of Bug #21043 +++

This is what the spec currently says:

[NamedConstructor=Audio(),
 NamedConstructor=Audio(DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {};

However, the following equivalent IDL is simpler:

[NamedConstructor=Audio(optional DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {};
Comment 1 Robin Berjon 2013-03-11 16:13:22 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: as requested
Rationale: simpler, cleaner
Comment 2 Robin Berjon 2013-03-11 16:13:42 UTC
Forgot the pointer: https://github.com/w3c/html/commit/1a01754c7431c9d49c5830a8a5cf8c8a82a39b33