Closed Bug 1459036 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10829 - Move AudioBuffer 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 10829 into mozilla-central (this bug is closed when the sync is complete).

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

Raymond Toy <rtoy@chromium.org> wrote:
>  Move AudioBuffer tests to WPT
>  
>  These tests either pass on Firefox or are bugs in Firefox.
>  
>  Bug: 745778
>  Change-Id: I0a2997d5c3602f026e5cf9132a68a833c975d32d
>  Reviewed-on: https://chromium-review.googlesource.com/1042801
>  WPT-Export-Revision: efecb944489cb1ead23af20ab37580a5dd42d981
Component: web-platform-tests → Web Audio
Product: Testing → Core
Ran 3 tests and 57 subtests
OK     : 2
PASS   : 42
FAIL   : 15
ERROR  : 1

New tests that have failures or other problems:
/webaudio/the-audio-api/the-audiobuffer-interface/audiobuffer-copy-channel.html: ERROR
    < [copyFrom-exceptions] 5 out of 9 assertions were failed.: FAIL
    < [copyTo-exceptions] 5 out of 8 assertions were failed.: FAIL
    X 2: buffer.copyToChannel(x, -1) threw "NotSupportedError" instead of IndexSizeError.: FAIL
    X 3: buffer.copyFromChannel(x, -1) threw "NotSupportedError" instead of IndexSizeError.: FAIL
    X 3: buffer.copyToChannel(x, 3) threw "NotSupportedError" instead of IndexSizeError.: FAIL
    X 4: buffer.copyFromChannel(x, 3) threw "NotSupportedError" instead of IndexSizeError.: FAIL
    X 4: buffer.copyToChannel(x, 0, -1) threw "NotSupportedError" instead of IndexSizeError.: FAIL
    X 5: buffer.copyFromChannel(x, 0, -1) threw "NotSupportedError" instead of IndexSizeError.: FAIL
    X 5: buffer.copyToChannel(x, 0, 16) threw "NotSupportedError" instead of IndexSizeError.: FAIL
    X 6: buffer.copyFromChannel(x, 0, 16) threw "NotSupportedError" instead of IndexSizeError.: FAIL
    X 6: buffer.copyToChannel(x, 3) threw "NotSupportedError" instead of IndexSizeError.: FAIL
    X 7: buffer.copyFromChannel(x, 3) threw "NotSupportedError" instead of IndexSizeError.: FAIL
/webaudio/the-audio-api/the-audiobuffer-interface/audiobuffer.html
    # AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.: FAIL
    < [Basic tests for AudioBuffer] 1 out of 11 assertions were failed.: FAIL
    X buffer.getChannelData(4) threw "NotSupportedError" instead of IndexSizeError.: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5a773b6dffe1
[wpt PR 10829] - Move AudioBuffer tests to WPT, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/09329e7cf8de
[wpt PR 10829] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/5a773b6dffe1
https://hg.mozilla.org/mozilla-central/rev/09329e7cf8de
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.