Closed Bug 1443628 Opened 2 years ago Closed 2 years ago

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

Categories

(Core :: Web Audio, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: wptsync, Unassigned)

Details

(Whiteboard: [wptsync downstream])

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

PR: https://github.com/w3c/web-platform-tests/pull/9883
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: https://chromium-review.googlesource.com/944847
>  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:
/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-addmodule-resolution.https.html
    
      Test the invocation order of AudioWorklet.addModule() and BaseAudioContext
    : FAIL
/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https.html: ERROR
/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-messageport.https.html
    
      Test MessagePort in AudioWorkletNode and AudioWorkletProcessor
    : FAIL
/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-sample-rate.https.html
    
      Test sampleRate in AudioWorkletGlobalScope
    : FAIL
/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https.html
    
      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
/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-onerror.https.html
    
      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 james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7469207d43b6
[wpt PR 9883] - Upstream AudioWorklet tests to WPT suite, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/b7aac0d2b3ce
[wpt PR 9883] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/7469207d43b6
https://hg.mozilla.org/mozilla-central/rev/b7aac0d2b3ce
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.