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

Unified Diff: LayoutTests/fast/js/script-tests/date-preserve-milliseconds.js

Issue 20867002: Remove old tests that have been migrated to the v8 repo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused script-tests as well Created 7 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
Index: LayoutTests/fast/js/script-tests/date-preserve-milliseconds.js
diff --git a/LayoutTests/fast/js/script-tests/date-preserve-milliseconds.js b/LayoutTests/fast/js/script-tests/date-preserve-milliseconds.js
deleted file mode 100644
index c3fa266b5469f5b7fe71ec0fa2a76934ed827ef4..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/script-tests/date-preserve-milliseconds.js
+++ /dev/null
@@ -1,21 +0,0 @@
-description(
-'The following test checks if an existing milliseconds value gets preserved if a call to setHours(), setMinutes() or setSeconds() does not specify the milliseconds. See <a href="https://bugs.webkit.org/show_bug.cgi?id=3759">https://bugs.webkit.org/show_bug.cgi?id=3759</a>'
-);
-
-var d = new Date(0);
-d.setMilliseconds(1);
-
-var oldValue = d.getMilliseconds();
-
-d.setHours(8);
-shouldBe("d.getMilliseconds()", oldValue.toString());
-d.setHours(8, 30);
-shouldBe("d.getMilliseconds()", oldValue.toString());
-d.setHours(8, 30, 40);
-shouldBe("d.getMilliseconds()", oldValue.toString());
-d.setMinutes(45);
-shouldBe("d.getMilliseconds()", oldValue.toString());
-d.setMinutes(45, 40);
-shouldBe("d.getMilliseconds()", oldValue.toString());
-d.setSeconds(50);
-shouldBe("d.getMilliseconds()", oldValue.toString());
« no previous file with comments | « LayoutTests/fast/js/script-tests/date-negative-setmonth.js ('k') | LayoutTests/fast/js/script-tests/date-toisostring.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698