Closed Bug 1443628 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 9883 - Upstream AudioWorklet tests to WPT suite


(Core :: Web Audio, enhancement, P3)




Tracking Status
firefox61 --- fixed


(Reporter:, Unassigned)


(Whiteboard: [wptsync downstream])

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

Details from upstream follow.

Hongchan Choi wrote:
>  Upstream AudioWorklet tests to WPT suite
>  1. Tests moved:
>   From - src/third_party/WebKit/LayoutTests/http/tests/webaudio/audio-worklet/
>   to - src/third_party/WebKit/LayoutTests/external/wpt/webaudio/
>  2. All tests were renamed because of the SecureContext requirement.
>  3. Updated the script paths.
>  4. Used a variable for the processor script path.
>  Bug: 817869
>  Test: All existing tests are passing after updating paths.
>  Change-Id: I7bd6c91c365730e453205f2241cb45986e2c7d3b
>  Reviewed-on:
>  WPT-Export-Revision: b35b064c2d16caffaa06c1bdb9e605da316acf87
Component: web-platform-tests → Web Audio
Product: Testing → Core
Ran 11 tests and 20 subtests
OK     : 5
PASS   : 13
FAIL   : 7
ERROR  : 6

New tests that have failures or other problems:
      Test the invocation order of AudioWorklet.addModule() and BaseAudioContext
    : FAIL
/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https.html: ERROR
      Test MessagePort in AudioWorkletNode and AudioWorkletProcessor
    : FAIL
      Test sampleRate in AudioWorkletGlobalScope
    : FAIL
      Test currentTime and currentFrame in AudioWorkletGlobalScope
    : FAIL
/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-channel-count.https.html: ERROR
/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-construction.https.html: ERROR
    < [construction-before-module-loading] 1 out of 1 assertions were failed.: FAIL
    X Creating a node before loading a module should throw. threw "ReferenceError" instead of InvalidStateError.: FAIL
/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-constructor-options.https.html: ERROR
      Test onprocessorerror handler in AudioWorkletNode
    : FAIL
/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-options.https.html: ERROR
/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https.html: ERROR
Pushed by
[wpt PR 9883] - Upstream AudioWorklet tests to WPT suite, a=testonly
[wpt PR 9883] - Update wpt metadata, a=testonly
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.