commit | f20cb5fa4f358326004bf65fd1c8abacc2d4844d | [log] [tgz] |
---|---|---|
author | Philip Jägenstedt <philip@foolip.org> | Mon Nov 13 20:30:32 2017 |
committer | Philip Jägenstedt <philip@foolip.org> | Tue Nov 14 13:00:13 2017 |
tree | 721c715f30350c89893428cbb628a6eac65676aa | |
parent | f8eb987cc1fe1cd6278e205990770ecdbd15fb1b [diff] |
Fix two duplicate callback definitions in Web Audio IDL This is causing a parse error with upgraded webidl2.js: https://github.com/w3c/web-platform-tests/pull/8063
diff --git a/webaudio/the-audio-api/the-delaynode-interface/idl-test.html b/webaudio/the-audio-api/the-delaynode-interface/idl-test.html index 645e6ad..5922b96 100644 --- a/webaudio/the-audio-api/the-delaynode-interface/idl-test.html +++ b/webaudio/the-audio-api/the-delaynode-interface/idl-test.html
@@ -32,7 +32,7 @@ interface EventListener {}; </pre> - <pre id="base-audio-context-idl">callback DecodeSuccessCallback = void (AudioBuffer decodedData); + <pre id="base-audio-context-idl">callback DecodeErrorCallback = void (DOMException error); callback DecodeSuccessCallback = void (AudioBuffer decodedData);
diff --git a/webaudio/the-audio-api/the-gainnode-interface/idl-test.html b/webaudio/the-audio-api/the-gainnode-interface/idl-test.html index 7671bf5..7ad8bc9 100644 --- a/webaudio/the-audio-api/the-gainnode-interface/idl-test.html +++ b/webaudio/the-audio-api/the-gainnode-interface/idl-test.html
@@ -32,7 +32,7 @@ interface EventListener {}; </pre> - <pre id="base-audio-context-idl">callback DecodeSuccessCallback = void (AudioBuffer decodedData); + <pre id="base-audio-context-idl">callback DecodeErrorCallback = void (DOMException error); callback DecodeSuccessCallback = void (AudioBuffer decodedData); interface BaseAudioContext : EventTarget {