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

Unified Diff: LayoutTests/fast/harness/should-be-now-expected.txt

Issue 80983002: File constructor understands lastModified. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added isolate to v8::Date::New to avoid deprecation warning. Created 7 years 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/fast/harness/should-be-now.html ('k') | LayoutTests/resources/js-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/harness/should-be-now-expected.txt
diff --git a/LayoutTests/fast/harness/should-be-now-expected.txt b/LayoutTests/fast/harness/should-be-now-expected.txt
index 78aeb260bb54c3785c70c4d9e103eeed89cc3168..13e37a96aeb105fa172fe1c16d313c03fb9208d5 100644
--- a/LayoutTests/fast/harness/should-be-now-expected.txt
+++ b/LayoutTests/fast/harness/should-be-now-expected.txt
@@ -11,6 +11,14 @@ Testing past dates. This should fail.
FAIL 50000 is not the curent time. Got 50000 which is 10 seconds in the past.
Testing future dates. This should fail.
FAIL 70000 is not the current time. Got 70000 which is 10 seconds in the future.
+Testing a slightly past date with the implicit delta. This should pass.
+PASS 59990 is equivalent to Date.now().
+Testing a slightly future date with the implicit delta. This should pass.
+PASS 60010 is equivalent to Date.now().
+Testing a past date with a large delta. This should pass.
+PASS 50000 is equivalent to Date.now().
+Testing a future date with a large delta. This should pass.
+PASS 70000 is equivalent to Date.now().
Simulating a defective clock that always goes backwards. The test below should fail.
FAIL new Date() cannot be tested against the current time. The clock is going backwards too often.
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/harness/should-be-now.html ('k') | LayoutTests/resources/js-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698