Intent to Remove: WebAudio AudioSourceNode interface

瀏覽次數:51 次
跳到第一則未讀訊息

Raymond Toy

未讀,
2017年1月12日 中午12:33:482017/1/12
收件者:blink-dev

Primary eng (and PM) emailsyes

rt...@chromium.org, hong...@chromium.org


Link to “Intent to Deprecate” thread

None


Summary

Remove AudioSourceNode interface from WebAudio


Motivation

WebAudio in Chrome implements an AudioSourceNode interface that was apparently used to mark AudioNodes that were also source nodes.  This isn’t in the current WebAudio spec.  We wish to remove this to align the implementation with the spec. This interface has no attributes and is not constructible.


Compatibility And Interoperability Risk

Firefox and Edge do not have AudioSourceNode.  Safari probably does due to the history of the implementations.  


A search through Github shows many uses.  A quick look at some of them indicates that these were mechanically generated.  These will need to be updated.


A search through httparchives gives just three hits.  They appear to be auto-generated Javascript.


Alternative implementation suggestion for web developers

There is no alternative, but this interface also did not have any functionality and Chrome did not have any internal functionality either.


Usage information from UseCounter

We have no usage information at all.


OWP launch tracking bug

http://crbug.com/663818


Entry on the feature dashboard

https://www.chromestatus.com/feature/5753709124386816


Chris Harrelson

未讀,
2017年1月12日 下午1:25:452017/1/12
收件者:Raymond Toy、blink-dev
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

TAMURA, Kent

未讀,
2017年1月12日 晚上7:43:072017/1/12
收件者:Chris Harrelson、Raymond Toy、blink-dev
LGTM2

--
TAMURA Kent
Software Engineer, Google


Rick Byers

未讀,
2017年1月19日 下午1:52:172017/1/19
收件者:TAMURA, Kent、Chris Harrelson、Raymond Toy、blink-dev
Discussed in API owners meeting.  We were a little concerned about the GitHub usage, the history of compat issues due to strange WebAudio feature detection patterns and the lack of (inability to add?) a UseCounter.  But since AudioSourceNode has no properties, doesn't show any interesting hits in HTTPArchive and hasn't been shipped by any other browser, it seems pretty unlikely anyone would rely on this.

We're OK with removal (without any deprecation period).  But please ping this thread if a single real-world compat issue is uncovered.

LGTM3

Raymond Toy

未讀,
2017年1月19日 下午6:10:542017/1/19
收件者:Rick Byers、TAMURA, Kent、Chris Harrelson、blink-dev
On Thu, Jan 19, 2017 at 10:51 AM, Rick Byers <rby...@chromium.org> wrote:
Discussed in API owners meeting.  We were a little concerned about the GitHub usage, the history of compat issues due to strange WebAudio feature detection patterns and the lack of (inability to add?) a UseCounter.  But since AudioSourceNode has no properties, doesn't show any interesting hits in HTTPArchive and hasn't been shipped by any other browser, it seems pretty unlikely anyone would rely on this.

We're OK with removal (without any deprecation period).  But please ping this thread if a single real-world compat issue is uncovered.

Thanks!  We'll be sure to ping this thread if something comes up. 
回覆所有人
回覆作者
轉寄
0 則新訊息