Skip to content

Many Bikeshed errors when building index.html (broken IDL?) #2185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sideshowbarker opened this issue Mar 27, 2020 · 16 comments
Closed

Many Bikeshed errors when building index.html (broken IDL?) #2185

sideshowbarker opened this issue Mar 27, 2020 · 16 comments
Labels
category: admin Editorial changes that do not change the text. https://www.w3.org/policies/process/#class-1

Comments

@sideshowbarker
Copy link

I get many Bikeshed errors when building index.html from index.bs using compile.sh.

The errors seem mostly (or completely) related to IDL problems. I’m not sure if that’s because there’s a build step I’m missing, or what. I just run compile.sh directly:

$ ./compile.sh
+ BSLOG=bs.log
+ ERRLOG=actual-errs.txt
+ trap 'rm actual-errs.txt' 0
+ bikeshed --print=plain -f spec
+ tee bs.log
WARNING: Multiple elements have the same ID 'dom-decodeerrorcallback-error'.
Deduping, but this ID may not be stable across revisions.
WARNING: Multiple elements have the same ID 'dom-decodesuccesscallback-decodeddata'.
Deduping, but this ID may not be stable across revisions.
LINE 1961: Can't find the 'contextOptions' argument of method 'OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)' in the argumentdef block.
LINE 3056: Can't find the 'destinationNode' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE 3056: Can't find the 'input' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE 3157: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE 3170: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE 3185: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE 3185: Can't find the 'input' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE 10472: Can't find method '['AudioWorkletProcessor/process(inputs, outputs, parameters))']'.
LINE 1435: No 'method' refs found for 'constructor(contextOptions)'.
LINE 1961: No 'method' refs found for 'constructor(contextOptions)'.
LINE 1985: No 'method' refs found for 'constructor(numberOfChannels, length, sampleRate)'.
LINE 2346: No 'method' refs found for 'constructor(options)'.
LINE 4210: No 'method' refs found for 'constructor(context, options)'.
LINE 4672: No 'method' refs found for 'constructor(context, options)'.
LINE 5916: No 'method' refs found for 'constructor(context, options)'.
LINE 6368: No 'method' refs found for 'constructor(context, options)'.
LINE 6481: No 'method' refs found for 'constructor(context, options)'.
LINE 6564: No 'method' refs found for 'constructor(context, options)'.
LINE 6695: No 'method' refs found for 'constructor(context, options)'.
LINE 6958: No 'method' refs found for 'constructor(context, options)'.
LINE 7126: No 'method' refs found for 'constructor(context, options)'.
LINE 7569: No 'method' refs found for 'constructor(context, options)'.
LINE 7683: No 'method' refs found for 'constructor(context, options)'.
LINE 7851: No 'method' refs found for 'constructor(context, options)'.
LINE 7954: No 'method' refs found for 'constructor(context, options)'.
LINE 8046: No 'method' refs found for 'constructor(context, options)'.
LINE 8119: No 'method' refs found for 'constructor(context, options)'.
LINE 8259: No 'method' refs found for 'constructor(context, options)'.
LINE 8640: No 'method' refs found for 'constructor(context, options)'.
LINE 9035: No 'method' refs found for 'constructor(context, options)'.
LINE 9338: No 'method' refs found for 'constructor(context, options)'.
LINE 9470: No 'method' refs found for 'constructor(context, options)'.
LINE 10039: No 'method' refs found for 'constructor(context, name, options)'.
LINK ERROR: No 'idl-name' refs found for 'sequence<unsigned long>'.
<a data-link-type="idl-name" data-lt="sequence&lt;unsigned long&gt;">sequence&lt;unsigned long&gt;</a>
LINK ERROR: No 'idl-name' refs found for 'record<DOMString, double>'.
<a data-link-type="idl-name" data-lt="record&lt;DOMString, double&gt;">record&lt;DOMString, double&gt;</a>
LINE 10472: No 'method' refs found for 'process(inputs, outputs, parameters))'.
 ✔  Successfully generated, but fatal errors were suppressed
+ sed 's;^LINE [0-9]*:;LINE:;' bs.log
+ sed -e '$a\'
+ sed 's;^LINE [0-9]*:;LINE:;' expected-errs.txt
+ sed -e '$a\'
+ diff -u - actual-errs.txt
--- -	2020-03-27 11:03:46.989855000 +0900
+++ actual-errs.txt	2020-03-27 11:03:46.983876799 +0900
@@ -40,4 +40,4 @@
 LINK ERROR: No 'idl-name' refs found for 'record<DOMString, double>'.
 <a data-link-type="idl-name" data-lt="record&lt;DOMString, double&gt;">record&lt;DOMString, double&gt;</a>
 LINE: No 'method' refs found for 'process(inputs, outputs, parameters))'.
-YAY Successfully generated, but fatal errors were suppressed
+ ✔  Successfully generated, but fatal errors were suppressed
+ exit 1
+ rm actual-errs.txt
@sideshowbarker sideshowbarker added Needs Discussion The issue needs more discussion before it can be fixed. Untriaged labels Mar 27, 2020
@rtoy
Copy link
Member

rtoy commented Mar 27, 2020

Yes, these are known issues which is why we have an expected results file.

When I last talked to @tabatkins about this these were issues in bikeshed, not the spec. The generated spec seems correct, but we do want to get these fixed, eventually.

@rtoy rtoy added the category: admin Editorial changes that do not change the text. https://www.w3.org/policies/process/#class-1 label Mar 27, 2020
@sideshowbarker
Copy link
Author

OK, given #2185 (comment) it’s fine by me to close this — if you already have an existing issue for tracking this. Or otherwise if this issue is now the tracking issue for it, then of course it’s also fine by me to keep this open :)

@Ms2ger
Copy link

Ms2ger commented Mar 30, 2020

Is there a bikeshed issue that tracks the problems?

@rtoy
Copy link
Member

rtoy commented Mar 30, 2020

Hmm. I can't find any bikeshed issue on this.

But I'm going to leave this webaudio issue open just so we have a record of the fact that we really do need to fix these, either in the spec or work with @tabatkins to figure out what's wrong.

@rtoy
Copy link
Member

rtoy commented Apr 24, 2020

For the record, here are the results after updating to bikeshed this morning. We have many fewer issues now .

WARNING: Multiple elements have the same ID 'dom-decodeerrorcallback-error'.
Deduping, but this ID may not be stable across revisions.
WARNING: Multiple elements have the same ID 'dom-decodesuccesscallback-decodeddata'.
Deduping, but this ID may not be stable across revisions.
LINE: Can't find the 'contextOptions' argument of method 'OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find method '['AudioWorkletProcessor/process(inputs, outputs, parameters))']'.
LINK ERROR: No 'idl-name' refs found for 'sequence<unsigned long>'.
<a data-link-type="idl-name" data-lt="sequence&lt;unsigned long&gt;">sequence&lt;unsigned long&gt;</a>
LINK ERROR: No 'idl-name' refs found for 'record<DOMString, double>'.
<a data-link-type="idl-name" data-lt="record&lt;DOMString, double&gt;">record&lt;DOMString, double&gt;</a>
LINE: No 'idl' refs found for 'process(inputs, outputs, parameters))'.
 ✔  Successfully generated, but fatal errors were suppressed

@rtoy
Copy link
Member

rtoy commented Apr 24, 2020

See also speced/bikeshed#1191 for the sequence and record errors. The sequence error is probably a simple mistake since bikeshed handles sequence<double> just fine.

@rtoy rtoy removed Needs Discussion The issue needs more discussion before it can be fixed. Untriaged labels Apr 24, 2020
@rtoy
Copy link
Member

rtoy commented Jul 28, 2020

Not sure what happened in #2185 (comment) but the current list is

WARNING: Multiple elements have the same ID 'dom-decodeerrorcallback-error'.
Deduping, but this ID may not be stable across revisions.
WARNING: Multiple elements have the same ID 'dom-decodesuccesscallback-decodeddata'.
Deduping, but this ID may not be stable across revisions.
LINE 1972: Can't find the 'contextOptions' argument of method 'OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)' in the argumentdef block.
LINE 3073: Can't find the 'destinationNode' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE 3073: Can't find the 'input' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE 3174: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE 3187: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE 3202: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE 3202: Can't find the 'input' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE 10506: Can't find method '['AudioWorkletProcessor/process(inputs, outputs, parameters))']'.
LINK ERROR: No 'argument' refs found for 'contextOptions' with for='AudioContext/AudioContext(contextOptions)'.
<a data-lt="contextOptions" data-link-type="argument" data-link-for="AudioContext/AudioContext(contextOptions), AudioContext/constructor(contextOptions), AudioContext/AudioContext(), AudioContext/constructor()">contextOptions</a>
LINK ERROR: No 'argument' refs found for 'contextOptions' with for='OfflineAudioContext/OfflineAudioContext(contextOptions)'.
<a data-lt="contextOptions" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(contextOptions), OfflineAudioContext/constructor(contextOptions)">contextOptions</a>
LINK ERROR: No 'argument' refs found for 'numberOfChannels' with for='OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate)'.
<a data-lt="numberOfChannels" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate), OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)">numberOfChannels</a>
LINK ERROR: No 'argument' refs found for 'length' with for='OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate)'.
<a data-lt="length" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate), OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)">length</a>
LINK ERROR: No 'argument' refs found for 'sampleRate' with for='OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate)'.
<a data-lt="sampleRate" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate), OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)">sampleRate</a>
LINK ERROR: No 'argument' refs found for 'options' with for='AudioBuffer/AudioBuffer(options)'.
<a data-lt="options" data-link-type="argument" data-link-for="AudioBuffer/AudioBuffer(options), AudioBuffer/constructor(options)">options</a>
LINK ERROR: No 'idl' refs found for 'options' with for='AudioBuffer/AudioBuffer()'.
{{AudioBuffer/AudioBuffer()/options}}
LINK ERROR: No 'argument' refs found for 'context' with for='AnalyserNode/AnalyserNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="AnalyserNode/AnalyserNode(context, options), AnalyserNode/constructor(context, options), AnalyserNode/AnalyserNode(context), AnalyserNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='AnalyserNode/AnalyserNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="AnalyserNode/AnalyserNode(context, options), AnalyserNode/constructor(context, options), AnalyserNode/AnalyserNode(context), AnalyserNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='AudioBufferSourceNode/AudioBufferSourceNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="AudioBufferSourceNode/AudioBufferSourceNode(context, options), AudioBufferSourceNode/constructor(context, options), AudioBufferSourceNode/AudioBufferSourceNode(context), AudioBufferSourceNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='AudioBufferSourceNode/AudioBufferSourceNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="AudioBufferSourceNode/AudioBufferSourceNode(context, options), AudioBufferSourceNode/constructor(context, options), AudioBufferSourceNode/AudioBufferSourceNode(context), AudioBufferSourceNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='BiquadFilterNode/BiquadFilterNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="BiquadFilterNode/BiquadFilterNode(context, options), BiquadFilterNode/constructor(context, options), BiquadFilterNode/BiquadFilterNode(context), BiquadFilterNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='BiquadFilterNode/BiquadFilterNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="BiquadFilterNode/BiquadFilterNode(context, options), BiquadFilterNode/constructor(context, options), BiquadFilterNode/BiquadFilterNode(context), BiquadFilterNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='ChannelMergerNode/ChannelMergerNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="ChannelMergerNode/ChannelMergerNode(context, options), ChannelMergerNode/constructor(context, options), ChannelMergerNode/ChannelMergerNode(context), ChannelMergerNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='ChannelMergerNode/ChannelMergerNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="ChannelMergerNode/ChannelMergerNode(context, options), ChannelMergerNode/constructor(context, options), ChannelMergerNode/ChannelMergerNode(context), ChannelMergerNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='ChannelSplitterNode/ChannelSplitterNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="ChannelSplitterNode/ChannelSplitterNode(context, options), ChannelSplitterNode/constructor(context, options), ChannelSplitterNode/ChannelSplitterNode(context), ChannelSplitterNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='ChannelSplitterNode/ChannelSplitterNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="ChannelSplitterNode/ChannelSplitterNode(context, options), ChannelSplitterNode/constructor(context, options), ChannelSplitterNode/ChannelSplitterNode(context), ChannelSplitterNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='ConstantSourceNode/ConstantSourceNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="ConstantSourceNode/ConstantSourceNode(context, options), ConstantSourceNode/constructor(context, options), ConstantSourceNode/ConstantSourceNode(context), ConstantSourceNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='ConstantSourceNode/ConstantSourceNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="ConstantSourceNode/ConstantSourceNode(context, options), ConstantSourceNode/constructor(context, options), ConstantSourceNode/ConstantSourceNode(context), ConstantSourceNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='ConvolverNode/ConvolverNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="ConvolverNode/ConvolverNode(context, options), ConvolverNode/constructor(context, options), ConvolverNode/ConvolverNode(context), ConvolverNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='ConvolverNode/ConvolverNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="ConvolverNode/ConvolverNode(context, options), ConvolverNode/constructor(context, options), ConvolverNode/ConvolverNode(context), ConvolverNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='DelayNode/DelayNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="DelayNode/DelayNode(context, options), DelayNode/constructor(context, options), DelayNode/DelayNode(context), DelayNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='DelayNode/DelayNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="DelayNode/DelayNode(context, options), DelayNode/constructor(context, options), DelayNode/DelayNode(context), DelayNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='DynamicsCompressorNode/DynamicsCompressorNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="DynamicsCompressorNode/DynamicsCompressorNode(context, options), DynamicsCompressorNode/constructor(context, options), DynamicsCompressorNode/DynamicsCompressorNode(context), DynamicsCompressorNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='DynamicsCompressorNode/DynamicsCompressorNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="DynamicsCompressorNode/DynamicsCompressorNode(context, options), DynamicsCompressorNode/constructor(context, options), DynamicsCompressorNode/DynamicsCompressorNode(context), DynamicsCompressorNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='GainNode/GainNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="GainNode/GainNode(context, options), GainNode/constructor(context, options), GainNode/GainNode(context), GainNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='GainNode/GainNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="GainNode/GainNode(context, options), GainNode/constructor(context, options), GainNode/GainNode(context), GainNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='IIRFilterNode/IIRFilterNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="IIRFilterNode/IIRFilterNode(context, options), IIRFilterNode/constructor(context, options)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='IIRFilterNode/IIRFilterNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="IIRFilterNode/IIRFilterNode(context, options), IIRFilterNode/constructor(context, options)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='MediaElementAudioSourceNode/MediaElementAudioSourceNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="MediaElementAudioSourceNode/MediaElementAudioSourceNode(context, options), MediaElementAudioSourceNode/constructor(context, options)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='MediaElementAudioSourceNode/MediaElementAudioSourceNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="MediaElementAudioSourceNode/MediaElementAudioSourceNode(context, options), MediaElementAudioSourceNode/constructor(context, options)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode(context, options), MediaStreamAudioDestinationNode/constructor(context, options), MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode(context), MediaStreamAudioDestinationNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode(context, options), MediaStreamAudioDestinationNode/constructor(context, options), MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode(context), MediaStreamAudioDestinationNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='MediaStreamAudioSourceNode/MediaStreamAudioSourceNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="MediaStreamAudioSourceNode/MediaStreamAudioSourceNode(context, options), MediaStreamAudioSourceNode/constructor(context, options)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='MediaStreamAudioSourceNode/MediaStreamAudioSourceNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="MediaStreamAudioSourceNode/MediaStreamAudioSourceNode(context, options), MediaStreamAudioSourceNode/constructor(context, options)">options</a>
LINK ERROR: No 'argument' refs found for 'options' with for='MediaStreamAudioSourceNode/MediaStreamAudioSourceNode()'.
{{MediaStreamAudioSourceNode/MediaStreamAudioSourceNode()/options!!argument}}
LINK ERROR: No 'argument' refs found for 'context' with for='MediaStreamTrackAudioSourceNode/MediaStreamTrackAudioSourceNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="MediaStreamTrackAudioSourceNode/MediaStreamTrackAudioSourceNode(context, options), MediaStreamTrackAudioSourceNode/constructor(context, options)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='MediaStreamTrackAudioSourceNode/MediaStreamTrackAudioSourceNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="MediaStreamTrackAudioSourceNode/MediaStreamTrackAudioSourceNode(context, options), MediaStreamTrackAudioSourceNode/constructor(context, options)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='OscillatorNode/OscillatorNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="OscillatorNode/OscillatorNode(context, options), OscillatorNode/constructor(context, options), OscillatorNode/OscillatorNode(context), OscillatorNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='OscillatorNode/OscillatorNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="OscillatorNode/OscillatorNode(context, options), OscillatorNode/constructor(context, options), OscillatorNode/OscillatorNode(context), OscillatorNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='PannerNode/PannerNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="PannerNode/PannerNode(context, options), PannerNode/constructor(context, options), PannerNode/PannerNode(context), PannerNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='PannerNode/PannerNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="PannerNode/PannerNode(context, options), PannerNode/constructor(context, options), PannerNode/PannerNode(context), PannerNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='PeriodicWave/PeriodicWave(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="PeriodicWave/PeriodicWave(context, options), PeriodicWave/constructor(context, options), PeriodicWave/PeriodicWave(context), PeriodicWave/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='PeriodicWave/PeriodicWave(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="PeriodicWave/PeriodicWave(context, options), PeriodicWave/constructor(context, options), PeriodicWave/PeriodicWave(context), PeriodicWave/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'options' with for='PeriodicWave/PeriodicWave(context, options)'.
{{PeriodicWave/PeriodicWave(context, options)/options!!argument}}
LINK ERROR: No 'argument' refs found for 'context' with for='StereoPannerNode/StereoPannerNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="StereoPannerNode/StereoPannerNode(context, options), StereoPannerNode/constructor(context, options), StereoPannerNode/StereoPannerNode(context), StereoPannerNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='StereoPannerNode/StereoPannerNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="StereoPannerNode/StereoPannerNode(context, options), StereoPannerNode/constructor(context, options), StereoPannerNode/StereoPannerNode(context), StereoPannerNode/constructor(context)">options</a>
LINK ERROR: No 'argument' refs found for 'context' with for='WaveShaperNode/WaveShaperNode(context, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="WaveShaperNode/WaveShaperNode(context, options), WaveShaperNode/constructor(context, options), WaveShaperNode/WaveShaperNode(context), WaveShaperNode/constructor(context)">context</a>
LINK ERROR: No 'argument' refs found for 'options' with for='WaveShaperNode/WaveShaperNode(context, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="WaveShaperNode/WaveShaperNode(context, options), WaveShaperNode/constructor(context, options), WaveShaperNode/WaveShaperNode(context), WaveShaperNode/constructor(context)">options</a>
LINK ERROR: No 'idl' refs found for '[[curve set]]'.
{{WaveShaperNode/[[curve set]]}}
LINK ERROR: No 'argument' refs found for 'context' with for='AudioWorkletNode/AudioWorkletNode(context, name, options)'.
<a data-lt="context" data-link-type="argument" data-link-for="AudioWorkletNode/AudioWorkletNode(context, name, options), AudioWorkletNode/constructor(context, name, options), AudioWorkletNode/AudioWorkletNode(context, name), AudioWorkletNode/constructor(context, name)">context</a>
LINK ERROR: No 'argument' refs found for 'name' with for='AudioWorkletNode/AudioWorkletNode(context, name, options)'.
<a data-lt="name" data-link-type="argument" data-link-for="AudioWorkletNode/AudioWorkletNode(context, name, options), AudioWorkletNode/constructor(context, name, options), AudioWorkletNode/AudioWorkletNode(context, name), AudioWorkletNode/constructor(context, name)">name</a>
LINK ERROR: No 'argument' refs found for 'options' with for='AudioWorkletNode/AudioWorkletNode(context, name, options)'.
<a data-lt="options" data-link-type="argument" data-link-for="AudioWorkletNode/AudioWorkletNode(context, name, options), AudioWorkletNode/constructor(context, name, options), AudioWorkletNode/AudioWorkletNode(context, name), AudioWorkletNode/constructor(context, name)">options</a>
LINK ERROR: No 'idl-name' refs found for 'sequence<unsigned long>'.
<a data-link-type="idl-name" data-lt="sequence&lt;unsigned long&gt;">sequence&lt;unsigned long&gt;</a>
LINK ERROR: No 'idl-name' refs found for 'record<DOMString, double>'.
<a data-link-type="idl-name" data-lt="record&lt;DOMString, double&gt;">record&lt;DOMString, double&gt;</a>
LINE 10506: No 'idl' refs found for 'process(inputs, outputs, parameters))'.
 ✔  Successfully generated, but fatal errors were suppressed

rtoy added a commit to rtoy/web-audio-api that referenced this issue Jul 28, 2020
Fixing links to parameters to the constructor. Basically, we
previously had something like
```
{{PeriodicWave/PeriodicWave(context, options)/options!!argument}}
```
and replace it with
```
{{PeriodicWave/constructor(context, options)/options!!argument}}
```
rtoy added a commit to rtoy/web-audio-api that referenced this issue Jul 28, 2020
Here we basically change the definitions for the arguments of node
constructor from
```
<pre class=argumentdef for="Foo/constructor(options)">
```
to
```
<pre class=argumentdef for="Foo/constructor()">
```

Not sure why this works but it does.
padenot pushed a commit that referenced this issue Jul 30, 2020
* Address #2185: Fix some bikeshed errors

Fixing links to parameters to the constructor. Basically, we
previously had something like
```
{{PeriodicWave/PeriodicWave(context, options)/options!!argument}}
```
and replace it with
```
{{PeriodicWave/constructor(context, options)/options!!argument}}
```

* Fix MediaStreamAudioSourceNode/options!!argument

Fixed the same way as for PeriodicWave.

* Update expected results
padenot pushed a commit that referenced this issue Jul 31, 2020
* Address #2185: Fix some bikeshed errors

Fixing links to parameters to the constructor. Basically, we
previously had something like
```
{{PeriodicWave/PeriodicWave(context, options)/options!!argument}}
```
and replace it with
```
{{PeriodicWave/constructor(context, options)/options!!argument}}
```

* Fix MediaStreamAudioSourceNode/options!!argument

Fixed the same way as for PeriodicWave.

* Update expected results

* Address #2185: Fix up more bikeshed errors

Here we basically change the definitions for the arguments of node
constructor from
```
<pre class=argumentdef for="Foo/constructor(options)">
```
to
```
<pre class=argumentdef for="Foo/constructor()">
```

Not sure why this works but it does.

* Update expected results

* Merge with main, fixing conflicts
rtoy added a commit to rtoy/web-audio-api that referenced this issue Aug 3, 2020
The latest veresion of bikeshed has fixed the errors printed for
`<sequence<unsigned long>` and `record<DOMString, double>`, so we can
remove these lines.
rtoy added a commit that referenced this issue Aug 3, 2020
The latest veresion of bikeshed has fixed the errors printed for
`<sequence<unsigned long>` and `record<DOMString, double>`, so we can
remove these lines.
@rtoy
Copy link
Member

rtoy commented Aug 3, 2020

The current expected errors file is now:

WARNING: Multiple elements have the same ID 'dom-decodeerrorcallback-error'.
Deduping, but this ID may not be stable across revisions.
WARNING: Multiple elements have the same ID 'dom-decodesuccesscallback-decodeddata'.
Deduping, but this ID may not be stable across revisions.
LINE: Can't find the 'contextOptions' argument of method 'OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find method '['AudioWorkletProcessor/process(inputs, outputs, parameters))']'.
LINK ERROR: No 'argument' refs found for 'contextOptions' with for='AudioContext/AudioContext(contextOptions)'.
<a data-lt="contextOptions" data-link-type="argument" data-link-for="AudioContext/AudioContext(contextOptions), AudioContext/constructor(contextOptions), AudioContext/AudioContext(), AudioContext/constructor()">contextOptions</a>
LINK ERROR: No 'argument' refs found for 'contextOptions' with for='OfflineAudioContext/OfflineAudioContext(contextOptions)'.
<a data-lt="contextOptions" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(contextOptions), OfflineAudioContext/constructor(contextOptions)">contextOptions</a>
LINK ERROR: No 'argument' refs found for 'numberOfChannels' with for='OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate)'.
<a data-lt="numberOfChannels" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate), OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)">numberOfChannels</a>
LINK ERROR: No 'argument' refs found for 'length' with for='OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate)'.
<a data-lt="length" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate), OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)">length</a>
LINK ERROR: No 'argument' refs found for 'sampleRate' with for='OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate)'.
<a data-lt="sampleRate" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate), OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)">sampleRate</a>
LINE: No 'idl' refs found for 'process(inputs, outputs, parameters))'.
 ✔  Successfully generated, but fatal errors were suppressed

I think we need help from @tabatkins for the AudioNode, AudioContext, and OfflineAudioContext issues. The AudioWorkletProcess/process is an artifact of how we wrote it. That will hopefully get fixed when #1933 is resolved.

rtoy added a commit to rtoy/web-audio-api that referenced this issue Aug 19, 2020
Updated bikeshed to the latest version and many bikeshed errors are
gone.  Update expected-errs.txt with the latest results.
rtoy added a commit that referenced this issue Aug 19, 2020
Updated bikeshed to the latest version and many bikeshed errors are
gone.  Update expected-errs.txt with the latest results.
@rtoy
Copy link
Member

rtoy commented Aug 19, 2020

With PR #2239, the expected errors file is shorter now. We didn't change the spec since the last time, so these are fixes from bikeshed itself. The one about void is new, probably related to replacing void with undefined in WebIDL recently.

WARNING: Multiple elements have the same ID 'dom-decodeerrorcallback-error'.
Deduping, but this ID may not be stable across revisions.
WARNING: Multiple elements have the same ID 'dom-decodesuccesscallback-decodeddata'.
Deduping, but this ID may not be stable across revisions.
LINE: Can't find the 'contextOptions' argument of method 'OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find method '['AudioWorkletProcessor/process(inputs, outputs, parameters))']'.
LINK ERROR: No 'idl-name' refs found for 'void'.
<a class="n" data-link-type="idl-name" data-lt="void">void</a>
LINK ERROR: No 'idl' refs found for 'void'.
{{void}}
LINE: No 'idl' refs found for 'process(inputs, outputs, parameters))'.
 ✔  Successfully generated, but fatal errors were suppressed

@tabatkins
Copy link

Yup, you should hopefully be getting a PR from the autokagami bot soon that'll fix the 'void' issue, or you can fix it yourself.

@rtoy
Copy link
Member

rtoy commented Aug 19, 2020

Yep, already got that. The bot doesn't now how to handle our errors file, so I'm doing it by hand, Should land this change soon.

@rtoy
Copy link
Member

rtoy commented Sep 15, 2020

For the record PR #2240 was the fix noted by the autokagami bot. So there's just a few more errors:

WARNING: Multiple elements have the same ID 'dom-decodeerrorcallback-error'.
Deduping, but this ID may not be stable across revisions.
WARNING: Multiple elements have the same ID 'dom-decodesuccesscallback-decodeddata'.
Deduping, but this ID may not be stable across revisions.
LINE: Can't find the 'contextOptions' argument of method 'OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find method '['AudioWorkletProcessor/process(inputs, outputs, parameters))']'.
LINE: No 'idl' refs found for 'process(inputs, outputs, parameters))'.
 ✔  Successfully generated, but fatal errors were suppressed

rtoy added a commit to rtoy/web-audio-api that referenced this issue Sep 25, 2020
The decode callbacks were multiply defining their arguments.  Instead,
just have the descriptions of the arguments just link back to the IDL
that defines the args.
rtoy added a commit that referenced this issue Oct 12, 2020
* Address #2185: Duplicate IDs for Decode callbacks

The decode callbacks were multiply defining their arguments.  Instead,
just have the descriptions of the arguments just link back to the IDL
that defines the args.

* Update expected errors
@rtoy
Copy link
Member

rtoy commented Oct 12, 2020

With PR #2253, the bikeshed errors are now:

LINE: Can't find the 'contextOptions' argument of method 'OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find method '['AudioWorkletProcessor/process(inputs, outputs, parameters))']'.
LINE: No 'idl' refs found for 'process(inputs, outputs, parameters))'.
 ✔  Successfully generated, but fatal errors were suppressed

The last two about process will get fixed when #1933 is resolved. The rest, AFAICT, are bikeshed issues that we can't work around.

rtoy added a commit to rtoy/web-audio-api that referenced this issue Oct 23, 2020
…dio#2253)

* Address WebAudio#2185: Duplicate IDs for Decode callbacks

The decode callbacks were multiply defining their arguments.  Instead,
just have the descriptions of the arguments just link back to the IDL
that defines the args.

* Update expected errors
rtoy added a commit that referenced this issue Nov 19, 2020
* Fix #1933:  Use FrozeArray for AudioWorkletProcessor process()

Instead of `sequence<sequence<Float32Array>>`, use
`FrozenArray<FrozenArray<Float32Array>>`.

Define a callback function as well.

* Address review comments from karlt.

Rename AudioWorkletProcessorCallback to AudioWorletProcessCallback

The third parameter is an object, not frozen array.

* Replace process() method with callback sections

Several changes here in no particular order:

- Tell bikeshed that `object` is the webidl concept
- Fix parameter names for the process callback (plurals, as used in the descriptions)
- Rename the dfn for "Processing an input buffer" from "process" to "processing-input-buffer".
- Fix up links to `process()` to point to the right place.
- The old section on the process method is broken up into two sections.  The main one is renaming it to "callback AudioWorkletProcessCallback".  This contains most fo the main text. A subsection then describes the parameters to the callback.

* Update expected errors

The callback idea fixes the errors from defining the process method.

* Address some review comments

* Describe what happens to inputs/outputs if things change

Add text to say inputs/outputs are recycled unless the topology
changes (number of channels, array is transferred).  Then new arrays
are allocated.

* Address some review comments

Still need description of how parameters are frozen.

* Update README.md

* Fix typo in "messsage" (#2255)

* chore: Fix markdown for bold (#2258)

* Update implementation-report.html

Update for Safari and for Edge

* Update implementation-report.html

Update IDL results for newer browsers

* Update implementation-report.html

Update summaries for new browsers. Fails = 6573 -  passes

* Update implementation-report.html

Date

* Fix typo "atleast" (#2259)

This isn't really a typo but an issue with bikeshed not leaving a
space at line breaks.  See speced/bikeshed#1470.

* Address #2185: Fix duplicated IDs for decode callbacks (#2253)

* Address #2185: Duplicate IDs for Decode callbacks

The decode callbacks were multiply defining their arguments.  Instead,
just have the descriptions of the arguments just link back to the IDL
that defines the args.

* Update expected errors

* Fix #2262: Clone bikeshed and install it (#2263)

As a workaround, clone the bikeshed repo and install bikeshed from the
repo.

Ideally, want just want to use the version with pip3 instead of
cloning the current version of bikeshed, but that's producing
unexpected errors.  We'll do this for now and recheck at some later
date when bikeshed is updated and revert to the old version.

* Fix #2257: Make channel ordering table visible in dark mode (#2264)

When using dark mode, use a different background color for the even
rows of the channel ordering table so that the entries are visible.

While we're at it, make the headings for the audio node properties
table, the audio param values table, and the enumeration description
table look a little better in dark mode.  This is done by specifying a
brighter green to make it a bit more legible.

* Add ECMAScript algorithm to freeze parameters.

* Some cleanups.

Co-authored-by: Chris Lilley <[email protected]>
Co-authored-by: Tomohiro IKEDA <[email protected]>
@rtoy
Copy link
Member

rtoy commented Nov 19, 2020

With #2253 and #2250, we're now down to:

LINE: Can't find the 'contextOptions' argument of method 'OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
LINE: Can't find the 'input' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block.
 ✔  Successfully generated, but fatal errors were suppressed

I think these are all issues with bikeshed.

@tabatkins
Copy link

Yes, they're still errors on Bikeshed's side.

@rtoy
Copy link
Member

rtoy commented Mar 8, 2021

This issue is basically tracked at speced/bikeshed#1740.

Since the only remaining bikeshed issues are due to bikeshed, I'm closing this, per discussion in the last teleconf with Ruth John.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: admin Editorial changes that do not change the text. https://www.w3.org/policies/process/#class-1
Projects
None yet
Development

No branches or pull requests

4 participants