Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: third_party/WebKit/LayoutTests/webaudio/audiolistener-automation-position.html

Issue 2200413005: Update WebAudio layout tests for Android (arm32) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor cleanups. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/audiolistener-automation-position.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/audiolistener-automation-position.html b/third_party/WebKit/LayoutTests/webaudio/audiolistener-automation-position.html
index 40717aca978176b25949d7797761ee5ba655c2de..3aa3537d17c39d95422ad0c56e49012fc60f07b0 100644
--- a/third_party/WebKit/LayoutTests/webaudio/audiolistener-automation-position.html
+++ b/third_party/WebKit/LayoutTests/webaudio/audiolistener-automation-position.html
@@ -180,9 +180,13 @@
var prefix = 'Distance model: "' + options.distanceModel.model + '"';
prefix += ', rolloff: ' + options.distanceModel.rolloff;
- success = Should(prefix + ": left channel", actualLeft)
+ success = Should(prefix + ": left channel", actualLeft, {
+ precision: 5
+ })
.beCloseToArray(expectedLeft, 0) && success;
- success = Should(prefix + ": right channel", actualRight)
+ success = Should(prefix + ": right channel", actualRight, {
+ precision: 5
+ })
.beCloseToArray(expectedRight, 0) && success;
var message = 'Moving AudioListener with distance model: "';

Powered by Google App Engine
This is Rietveld 408576698