[Webkit-unassigned] [Bug 71660] Remove [CustomGetter] IDL for HTMLAudioElementConstructor of V8.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 7 09:21:23 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=71660





--- Comment #2 from Adam Barth <abarth at webkit.org>  2011-11-07 09:21:22 PST ---
(From update of attachment 113844)
View in context: https://bugs.webkit.org/attachment.cgi?id=113844&action=review

> Source/WebCore/page/DOMWindow.idl:630
> -        attribute [CustomGetter, Conditional=VIDEO, EnabledAtRuntime] HTMLAudioElementConstructor Audio; // Usable with the new operator
> +        attribute [JSCCustomGetter, Conditional=VIDEO, EnabledAtRuntime] HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator

I don't fully understand why HTMLAudioElementConstructorConstructor is needed in place of HTMLAudioElementConstructor.  It seems like Audio is indeed just an HTMLAudioElementConstructor because calling "new Audio()" gives you an HTMLAudioElement.  Maybe this is something we should change in the code generator?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list