Closed Bug 1459265 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10852 - Move AudioContext tests to WPT

Categories

(Core :: Web Audio, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Raymond Toy <rtoy@chromium.org> wrote:
>  Move AudioContext tests to WPT
>  
>  These tests pass on Firefox or fail due to bugs in Firefox.
>  
>  The remaining tests are somewhat Chrome-specific and aren't moved.
>  
>  Bug: 745778
>  Change-Id: Idb1e9ce94339032d7e2866232424c458635db646
>  Reviewed-on: https://chromium-review.googlesource.com/1042858
>  WPT-Export-Revision: 3406fa2df5ccaea113f967f26bddfb9686bb30b1
Component: web-platform-tests → Web Audio
Product: Testing → Core
Ran 3 tests and 33 subtests
OK     : 1
PASS   : 20
FAIL   : 13
ERROR  : 2

New tests that have failures or other problems:
/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-getoutputtimestamp.html: ERROR
/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-suspend-resume.html: ERROR
    X p1 = offlineContext.suspend() incorrectly threw TypeError: "offlineContext.suspend is not a function".: FAIL
    X p1 instanceof Promise is not true. Got false.: FAIL
/webaudio/the-audio-api/the-audiocontext-interface/audiocontextoptions.html
    # AUDIT TASK RUNNER FINISHED: 2 out of 2 tasks were failed.: FAIL
    < [test-audiocontextoptions-latencyHint-basic] 3 out of 9 assertions were failed.: FAIL
    < [test-audiocontextoptions-latencyHint-double] 5 out of 10 assertions were failed.: FAIL
    X balanced baseLatency is not greater than or equal to undefined. Got undefined.: FAIL
    X context = new AudioContext({'latencyHint': 'foo'}) did not throw an exception.: FAIL
    X default baseLatency is not greater than 0. Got undefined.: FAIL
    X double-constructor baseLatency inrange 1 is not greater than or equal to undefined. Got undefined.: FAIL
    X double-constructor baseLatency inrange 2 is not less than or equal to undefined. Got undefined.: FAIL
    X double-constructor baseLatency small is not less than or equal to undefined. Got undefined.: FAIL
    X high latency context baseLatency is not greater than undefined. Got undefined.: FAIL
    X playback baseLatency is not greater than or equal to undefined. Got undefined.: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec6270ca64e1
[wpt PR 10852] - Move AudioContext tests to WPT, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/f34462ac250e
[wpt PR 10852] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/ec6270ca64e1
https://hg.mozilla.org/mozilla-central/rev/f34462ac250e
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.