Bug 216814 - OscillatorNode is not exposed
Summary: OscillatorNode is not exposed
Status: RESOLVED DUPLICATE of bug 216163
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: Safari 14
Hardware: All All
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-22 00:39 PDT by Marcin Wolniewicz
Modified: 2020-09-23 08:24 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Wolniewicz 2020-09-22 00:39:52 PDT
Even though it looks like there was an attempt to expose an OscillatorNode constructor (https://bugs.webkit.org/show_bug.cgi?id=214746) it looks like it hasn't been in the end and AudioContext.createOscillator returns a WebKitOscillatorNode instead. Neither OscillatorNode or WebKitOscillatorNode prototypes (or constructors) are available in the global namespace. This issue breakes bindings when using Dart with dart2js.
Comment 1 Chris Dumez 2020-09-22 15:47:53 PDT

*** This bug has been marked as a duplicate of bug 216163 ***
Comment 2 Chris Dumez 2020-09-22 15:49:03 PDT
(In reply to Marcin Wolniewicz from comment #0)
> Even though it looks like there was an attempt to expose an OscillatorNode
> constructor (https://bugs.webkit.org/show_bug.cgi?id=214746) it looks like
> it hasn't been in the end and AudioContext.createOscillator returns a
> WebKitOscillatorNode instead. Neither OscillatorNode or WebKitOscillatorNode
> prototypes (or constructors) are available in the global namespace. This
> issue breakes bindings when using Dart with dart2js.

Yes, I temporarily regressed this while working on the unprefixed WebAudio API but fixed it shortly after in Bug 216163.
Comment 3 Marcin Wolniewicz 2020-09-23 00:26:08 PDT
Ok thanks! When will this be released to the public?
Comment 4 Chris Dumez 2020-09-23 08:24:28 PDT
(In reply to Marcin Wolniewicz from comment #3)
> Ok thanks! When will this be released to the public?

I am unable to comment on when a particular fix will be made public.