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

Unified Diff: third_party/WebKit/LayoutTests/vr/resources/test-constants.js

Issue 2623613002: Reland 2617183002 without offending tests (Closed)
Patch Set: Created 3 years, 11 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/vr/resources/test-constants.js
diff --git a/third_party/WebKit/LayoutTests/vr/resources/test-constants.js b/third_party/WebKit/LayoutTests/vr/resources/test-constants.js
new file mode 100644
index 0000000000000000000000000000000000000000..523cd4457f5781b524974c1922cfeff7e18b9aea
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/vr/resources/test-constants.js
@@ -0,0 +1,3 @@
+// assert_equals can fail when comparing floats due to precision errors, so
+// use assert_approx_equals with this constant instead
+var FLOAT_EPSILON = 0.0000001;

Powered by Google App Engine
This is Rietveld 408576698