Closed Bug 1441361 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 9412 - Upstream PannerNode tests to WPT

Categories

(Core :: Web Audio, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: mozilla.org, Unassigned)

Details

(Whiteboard: [wptsync downstream])

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

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

Raymond Toy wrote:
>  Upstream PannerNode tests to WPT
>  
>  Bug: 745778
>  Change-Id: I3b7a5bf5928a412d64cd10eaff729de9dc5a1151
>  Reviewed-on: https://chromium-review.googlesource.com/903054
>  Reviewed-by: Hongchan Choi <hongchan@chromium.org>
>  Commit-Queue: Raymond Toy <rtoy@chromium.org>
>  Cr-Commit-Position: refs/heads/master@{#534730}
>  
>  
>
Component: web-platform-tests → Web Audio
Product: Testing → Core
Ran 11 tests and 441 subtests
OK     : 8
PASS   : 423
FAIL   : 18
TIMEOUT: 1
ERROR  : 2

New tests that have failures or other problems:
/webaudio/the-audio-api/the-pannernode-interface/panner-automation-basic.html: ERROR
/webaudio/the-audio-api/the-pannernode-interface/panner-automation-position.html: TIMEOUT
/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html
    # AUDIT TASK RUNNER FINISHED: 2 out of 4 tasks were failed.: FAIL
    < [max-distance-error] 4 out of 6 assertions were failed.: FAIL
    < [ref-distance-error] 2 out of 6 assertions were failed.: FAIL
    X new PannerNode(c, {maxDistance: -1}) did not throw an exception.: FAIL
    X new PannerNode(c, {maxDistance: 0}) did not throw an exception.: FAIL
    X new PannerNode(c, {refDistance: -1}) did not throw an exception.: FAIL
    X panner.maxDistance = -1 did not throw an exception.: FAIL
    X panner.maxDistance = 0 did not throw an exception.: FAIL
    X panner.refDistance = -1 did not throw an exception.: FAIL
/webaudio/the-audio-api/the-pannernode-interface/panner-rolloff-clamping.html
    # AUDIT TASK RUNNER FINISHED: 4 out of 4 tasks were failed.: FAIL
    < [exponential-clamp] 1 out of 1 assertions were failed.: FAIL
    < [inverse-clamp] 1 out of 1 assertions were failed.: FAIL
    < [linear-clamp-high] 1 out of 1 assertions were failed.: FAIL
    < [linear-clamp-low] 1 out of 1 assertions were failed.: FAIL
    X Panner distanceModel: "exponential", rolloffFactor: -2 expected to be equal to the array [0,0.018875712528824806,0.05621177703142166,0.06847958266735077,0.09856243431568146,0.12242205440998077,0.1495940238237381,0.16251686215400696,0.20651382207870483,0.21217726171016693,0.2435699999332428,0.2771494388580322,0.28300273418426514,0.32210540771484375,0.344368577003479,0.36553990840911865...] but differs in 2047 places:
	Index	Actual			Expected
	[1]	4.7189281250000000e+5	1.8875712528824806e-2
	[2]	1.4052943750000000e+6	5.6211777031421661e-2
	[3]	1.7119896250000000e+6	6.8479582667350769e-2
	[4]	2.4640607500000000e+6	9.8562434315681458e-2
	...and 2043 more errors.: FAIL[linux64-debug,linux64-opt,linux64-stylo-disabled-debug,linux64-stylo-disabled-opt]
    X Panner distanceModel: "exponential", rolloffFactor: -2 expected to be equal to the array [0,0.0188757237046957,0.056211769580841064,0.06847962737083435,0.09856244176626205,0.12242206931114197,0.1495940387248993,0.16251686215400696,0.2065138816833496,0.21217726171016693,0.24357002973556519,0.2771494686603546,0.2830027937889099,0.3221054673194885,0.344368577003479,0.36553993821144104...] but differs in 2047 places:
	Index	Actual			Expected
	[1]	4.7189309375000000e+5	1.8875723704695702e-2
	[2]	1.4052942500000000e+6	5.6211769580841064e-2
	[3]	1.7119906250000000e+6	6.8479627370834351e-2
	[4]	2.4640610000000000e+6	9.8562441766262054e-2
	...and 2043 more errors.: FAIL[linux32-debug,linux32-opt]
    X Panner distanceModel: "inverse", rolloffFactor: -1 expected to be equal to the array [0,0.018875712528824806,0.05621177703142166,0.06847958266735077,0.09856243431568146,0.12242205440998077,0.1495940238237381,0.16251686215400696,0.20651382207870483,0.21217726171016693,0.2435699999332428,0.2771494388580322,0.28300273418426514,0.32210540771484375,0.344368577003479,0.36553990840911865...] but differs in 2047 places:
	Index	Actual			Expected
	[1]	0.0000000000000000e+0	1.8875712528824806e-2
	[2]	0.0000000000000000e+0	5.6211777031421661e-2
	[3]	0.0000000000000000e+0	6.8479582667350769e-2
	[4]	0.0000000000000000e+0	9.8562434315681458e-2
	...and 2043 more errors.: FAIL[linux64-debug,linux64-opt,linux64-stylo-disabled-debug,linux64-stylo-disabled-opt]
    X Panner distanceModel: "inverse", rolloffFactor: -1 expected to be equal to the array [0,0.0188757237046957,0.056211769580841064,0.06847962737083435,0.09856244176626205,0.12242206931114197,0.1495940387248993,0.16251686215400696,0.2065138816833496,0.21217726171016693,0.24357002973556519,0.2771494686603546,0.2830027937889099,0.3221054673194885,0.344368577003479,0.36553993821144104...] but differs in 2047 places:
	Index	Actual			Expected
	[1]	0.0000000000000000e+0	1.8875723704695702e-2
	[2]	0.0000000000000000e+0	5.6211769580841064e-2
	[3]	0.0000000000000000e+0	6.8479627370834351e-2
	[4]	0.0000000000000000e+0	9.8562441766262054e-2
	...and 2043 more errors.: FAIL[linux32-debug,linux32-opt]
    X Panner distanceModel: "linear", rolloffFactor: -1 expected to be equal to the array [0,0.018875712528824806,0.05621177703142166,0.06847958266735077,0.09856243431568146,0.12242205440998077,0.1495940238237381,0.16251686215400696,0.20651382207870483,0.21217726171016693,0.2435699999332428,0.2771494388580322,0.28300273418426514,0.32210540771484375,0.344368577003479,0.36553990840911865...] but differs in 2047 places:
	Index	Actual			Expected
	[1]	2.8312625363469124e-2	1.8875712528824806e-2
	[2]	8.4314860403537750e-2	5.6211777031421661e-2
	[3]	1.0271595418453217e-1	6.8479582667350769e-2
	[4]	1.4783872663974762e-1	9.8562434315681458e-2
	...and 2043 more errors.: FAIL[linux64-debug,linux64-opt,linux64-stylo-disabled-debug,linux64-stylo-disabled-opt]
    X Panner distanceModel: "linear", rolloffFactor: -1 expected to be equal to the array [0,0.0188757237046957,0.056211769580841064,0.06847962737083435,0.09856244176626205,0.12242206931114197,0.1495940387248993,0.16251686215400696,0.2065138816833496,0.21217726171016693,0.24357002973556519,0.2771494686603546,0.2830027937889099,0.3221054673194885,0.344368577003479,0.36553993821144104...] but differs in 2047 places:
	Index	Actual			Expected
	[1]	2.8312642127275467e-2	1.8875723704695702e-2
	[2]	8.4314845502376556e-2	5.6211769580841064e-2
	[3]	1.0271602123975754e-1	6.8479627370834351e-2
	[4]	1.4783874154090881e-1	9.8562441766262054e-2
	...and 2043 more errors.: FAIL[linux32-debug,linux32-opt]
    X Panner distanceModel: "linear", rolloffFactor: 2 expected to be equal to the array [0,0.009438800625503063,0.02810869924724102,0.03424321487545967,0.049286145716905594,0.06121714785695076,0.07480449229478836,0.08126655966043472,0.10326723754405975,0.10609924048185349,0.12179718166589737,0.1385885775089264,0.14151552319526672,0.16106881201267242,0.1722015142440796,0.18278823792934418...] but differs in 2047 places:
	Index	Actual			Expected
	[1]	1.8877600496125524e-6	9.4388006255030632e-3
	[2]	5.6217400015157182e-6	2.8108699247241020e-2
	[3]	6.8486433519865386e-6	3.4243214875459671e-2
	[4]	9.8572290880838409e-6	4.9286145716905594e-2
	...and 2043 more errors.: FAIL[linux64-debug,linux64-opt,linux64-stylo-disabled-debug,linux64-stylo-disabled-opt]
    X Panner distanceModel: "linear", rolloffFactor: 2 expected to be equal to the array [0,0.009438806213438511,0.028108695521950722,0.03424323722720146,0.04928614944219589,0.06121715530753136,0.07480449974536896,0.08126655966043472,0.10326726734638214,0.10609924048185349,0.12179719656705856,0.13858859241008759,0.1415155529975891,0.1610688418149948,0.1722015142440796,0.18278825283050537...] but differs in 2047 places:
	Index	Actual			Expected
	[1]	1.8877611864809296e-6	9.4388062134385109e-3
	[2]	5.6217390920210164e-6	2.8108695521950722e-2
	[3]	6.8486474447126966e-6	3.4243237227201462e-2
	[4]	9.8572299975785427e-6	4.9286149442195892e-2
	...and 2043 more errors.: FAIL[linux32-debug,linux32-opt]
/webaudio/the-audio-api/the-pannernode-interface/pannernode-basic.html: ERROR
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bcd511c5050d
[wpt PR 9412]- Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/bcd511c5050d
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.