Bug 21050 - Use an optional NamedConstructor argument for HTMLAudioElement
Summary: Use an optional NamedConstructor argument for HTMLAudioElement
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
Depends on: 21043
  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:


Note You need to log in before you can comment on or make changes to this bug.
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(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:


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