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

Unified Diff: LayoutTests/http/tests/misc/webtiming-resolution-expected.txt

Issue 1214063008: Reduce resolution of performance.now to prevent timing attacks (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « LayoutTests/http/tests/misc/webtiming-resolution.html ('k') | Source/core/timing/PerformanceBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/misc/webtiming-resolution-expected.txt
diff --git a/LayoutTests/http/tests/misc/webtiming-resolution-expected.txt b/LayoutTests/http/tests/misc/webtiming-resolution-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b213f2a468b92d56014bd001c30fa07b0942269
--- /dev/null
+++ b/LayoutTests/http/tests/misc/webtiming-resolution-expected.txt
@@ -0,0 +1,10 @@
+Verifies the minimum resolution is 5 microseconds.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS shouldBeNearZeroOrOne < 1e-10 || Math.abs(shouldBeNearZeroOrOne - 1) < 1e-10 is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/http/tests/misc/webtiming-resolution.html ('k') | Source/core/timing/PerformanceBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698