Closed Bug 1470045 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11595 - Clean up webaudio IDL test

Categories

(Core :: Web Audio, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11595 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/11595
Details from upstream follow.

Luke Bjerring <lukebjerring@chromium.org> wrote:
>  Clean up webaudio IDL test
>  
>  Deletes the duplicated IDL, and catches potential errors when creating the objects for testing, giving more meaningful test results.
PR 11595 applied with additional changes from upstream: 08725607251e2116a389b878634522905048b4b7
Component: web-platform-tests → Web Audio
Product: Testing → Core
Ran 1 tests and 1272 subtests
OK     : 1
PASS   : 1162
FAIL   : 110

New tests that have failures or other problems:
/webaudio/idlharness.https.html
    AudioContext interface: attribute baseLatency: FAIL
    AudioContext interface: attribute outputLatency: FAIL
    AudioContext interface: calling createMediaStreamTrackSource(MediaStreamTrack) on context with too few arguments must throw TypeError: FAIL
    AudioContext interface: context must inherit property "baseLatency" with the proper type: FAIL
    AudioContext interface: context must inherit property "createMediaStreamTrackSource(MediaStreamTrack)" with the proper type: FAIL
    AudioContext interface: context must inherit property "getOutputTimestamp()" with the proper type: FAIL
    AudioContext interface: context must inherit property "outputLatency" with the proper type: FAIL
    AudioContext interface: operation createMediaStreamTrackSource(MediaStreamTrack): FAIL
    AudioContext interface: operation getOutputTimestamp(): FAIL
    AudioListener interface: attribute forwardX: FAIL
    AudioListener interface: attribute forwardY: FAIL
    AudioListener interface: attribute forwardZ: FAIL
    AudioListener interface: attribute positionX: FAIL
    AudioListener interface: attribute positionY: FAIL
    AudioListener interface: attribute positionZ: FAIL
    AudioListener interface: attribute upX: FAIL
    AudioListener interface: attribute upY: FAIL
    AudioListener interface: attribute upZ: FAIL
    AudioListener interface: context.listener must inherit property "forwardX" with the proper type: FAIL
    AudioListener interface: context.listener must inherit property "forwardY" with the proper type: FAIL
    AudioListener interface: context.listener must inherit property "forwardZ" with the proper type: FAIL
    AudioListener interface: context.listener must inherit property "positionX" with the proper type: FAIL
    AudioListener interface: context.listener must inherit property "positionY" with the proper type: FAIL
    AudioListener interface: context.listener must inherit property "positionZ" with the proper type: FAIL
    AudioListener interface: context.listener must inherit property "upX" with the proper type: FAIL
    AudioListener interface: context.listener must inherit property "upY" with the proper type: FAIL
    AudioListener interface: context.listener must inherit property "upZ" with the proper type: FAIL
    AudioNode interface: calling connect(AudioNode, unsigned long, unsigned long) on worklet_node with too few arguments must throw TypeError: FAIL
    AudioNode interface: calling connect(AudioParam, unsigned long) on worklet_node with too few arguments must throw TypeError: FAIL
    AudioNode interface: calling disconnect(AudioNode) on worklet_node with too few arguments must throw TypeError: FAIL
    AudioNode interface: calling disconnect(AudioNode, unsigned long) on worklet_node with too few arguments must throw TypeError: FAIL
    AudioNode interface: calling disconnect(AudioNode, unsigned long, unsigned long) on worklet_node with too few arguments must throw TypeError: FAIL
    AudioNode interface: calling disconnect(AudioParam) on worklet_node with too few arguments must throw TypeError: FAIL
    AudioNode interface: calling disconnect(AudioParam, unsigned long) on worklet_node with too few arguments must throw TypeError: FAIL
    AudioNode interface: calling disconnect(unsigned long) on worklet_node with too few arguments must throw TypeError: FAIL
    AudioNode interface: worklet_node must inherit property "channelCount" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "channelCountMode" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "channelInterpretation" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "connect(AudioNode, unsigned long, unsigned long)" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "connect(AudioParam, unsigned long)" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "context" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "disconnect()" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "disconnect(AudioNode)" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "disconnect(AudioNode, unsigned long)" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "disconnect(AudioNode, unsigned long, unsigned long)" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "disconnect(AudioParam)" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "disconnect(AudioParam, unsigned long)" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "disconnect(unsigned long)" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "numberOfInputs" with the proper type: FAIL
    AudioNode interface: worklet_node must inherit property "numberOfOutputs" with the proper type: FAIL
    AudioParam interface: attribute automationRate: FAIL
    AudioParam interface: calling cancelAndHoldAtTime(double) on new AudioBufferSourceNode(context).playbackRate with too few arguments must throw TypeError: FAIL
    AudioParam interface: new AudioBufferSourceNode(context).playbackRate must inherit property "automationRate" with the proper type: FAIL
    AudioParam interface: new AudioBufferSourceNode(context).playbackRate must inherit property "cancelAndHoldAtTime(double)" with the proper type: FAIL
    AudioParam interface: new AudioBufferSourceNode(context).playbackRate must inherit property "maxValue" with the proper type: FAIL
    AudioParam interface: new AudioBufferSourceNode(context).playbackRate must inherit property "minValue" with the proper type: FAIL
    AudioParam interface: operation cancelAndHoldAtTime(double): FAIL
    AudioParamMap interface object length: FAIL
    AudioParamMap interface object name: FAIL
    AudioParamMap interface: existence and properties of interface object: FAIL
    AudioParamMap interface: existence and properties of interface prototype object: FAIL
    AudioParamMap interface: existence and properties of interface prototype object's "constructor" property: FAIL
    AudioParamMap interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    AudioParamMap must be primary interface of worklet_node.parameters: FAIL
    AudioProcessingEvent interface object length: FAIL
    AudioProcessingEvent interface: new AudioProcessingEvent('', {
      playbackTime: 0, inputBuffer: buffer, outputBuffer: buffer
    }) must inherit property "inputBuffer" with the proper type: FAIL
    AudioProcessingEvent interface: new AudioProcessingEvent('', {
      playbackTime: 0, inputBuffer: buffer, outputBuffer: buffer
    }) must inherit property "outputBuffer" with the proper type: FAIL
    AudioProcessingEvent interface: new AudioProcessingEvent('', {
      playbackTime: 0, inputBuffer: buffer, outputBuffer: buffer
    }) must inherit property "playbackTime" with the proper type: FAIL
    AudioProcessingEvent must be primary interface of new AudioProcessingEvent('', {
      playbackTime: 0, inputBuffer: buffer, outputBuffer: buffer
    }): FAIL
    AudioWorklet interface object length: FAIL
    AudioWorklet interface object name: FAIL
    AudioWorklet interface: existence and properties of interface object: FAIL
    AudioWorklet interface: existence and properties of interface prototype object: FAIL
    AudioWorklet interface: existence and properties of interface prototype object's "constructor" property: FAIL
    AudioWorklet interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    AudioWorklet must be primary interface of context.audioWorklet: FAIL
    AudioWorkletNode interface object length: FAIL
    AudioWorkletNode interface object name: FAIL
    AudioWorkletNode interface: attribute onprocessorerror: FAIL
    AudioWorkletNode interface: attribute parameters: FAIL
    AudioWorkletNode interface: attribute port: FAIL
    AudioWorkletNode interface: existence and properties of interface object: FAIL
    AudioWorkletNode interface: existence and properties of interface prototype object: FAIL
    AudioWorkletNode interface: existence and properties of interface prototype object's "constructor" property: FAIL
    AudioWorkletNode interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    AudioWorkletNode interface: worklet_node must inherit property "onprocessorerror" with the proper type: FAIL
    AudioWorkletNode interface: worklet_node must inherit property "parameters" with the proper type: FAIL
    AudioWorkletNode interface: worklet_node must inherit property "port" with the proper type: FAIL
    AudioWorkletNode must be primary interface of worklet_node: FAIL
    BaseAudioContext interface: attribute audioWorklet: FAIL
    BaseAudioContext interface: context must inherit property "audioWorklet" with the proper type: FAIL
    BaseAudioContext interface: new OfflineAudioContext(1, 1, sample_rate) must inherit property "audioWorklet" with the proper type: FAIL
    MediaElementAudioSourceNode interface: attribute mediaElement: FAIL
    MediaElementAudioSourceNode interface: new MediaElementAudioSourceNode(context, {mediaElement: new Audio}) must inherit property "mediaElement" with the proper type: FAIL
    MediaStreamAudioSourceNode interface: attribute mediaStream: FAIL
    MediaStreamTrackAudioSourceNode interface object length: FAIL
    MediaStreamTrackAudioSourceNode interface object name: FAIL
    MediaStreamTrackAudioSourceNode interface: existence and properties of interface object: FAIL
    MediaStreamTrackAudioSourceNode interface: existence and properties of interface prototype object: FAIL
    MediaStreamTrackAudioSourceNode interface: existence and properties of interface prototype object's "constructor" property: FAIL
    MediaStreamTrackAudioSourceNode interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    OfflineAudioContext interface: calling suspend(double) on new OfflineAudioContext(1, 1, sample_rate) with too few arguments must throw TypeError: FAIL
    OfflineAudioContext interface: new OfflineAudioContext(1, 1, sample_rate) must inherit property "suspend(double)" with the proper type: FAIL
    OfflineAudioContext interface: operation suspend(double): FAIL
    PeriodicWave must be primary interface of new PeriodicWave(context): FAIL
    Stringification of context.audioWorklet: FAIL
    Stringification of new AudioProcessingEvent('', {
      playbackTime: 0, inputBuffer: buffer, outputBuffer: buffer
    }): FAIL
    Stringification of new PeriodicWave(context): FAIL
    Stringification of worklet_node: FAIL
    Stringification of worklet_node.parameters: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/688cfadf7d3f
[wpt PR 11595] - Auto-update the webaudio IDL file, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/ffbc537a6333
[wpt PR 11595] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/688cfadf7d3f
https://hg.mozilla.org/mozilla-central/rev/ffbc537a6333
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.