Bug 1416070 - Snooze time bomb in test_validators.js for 80 years or until a devtools peer fixes it. r=me on a CLOSED TREE
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 10 Nov 2017 02:40:53 +0200
changeset 695940 ed94dc665071d8d510688ff50bbedad2c7cb33ee
parent 695799 41a66272bd113526fa1e533268ebd5bbf39f7532
child 695941 54c1c660af767fcbf0b2ebecfbe4b126b4bd0081
child 695952 be7bb417132a5c7d7e14e02c7da83288cd0fde84
child 695959 195ffdafdab6c79647c7913c7b07f1a474b33511
child 695962 a7215ce50f472d23d93ba7a9e4d41b5226f61b9f
child 695996 4d5f53f51f67336193ebc419bf9d6cb8d8861c81
child 696014 5ece2d052e8eecc7cc9ac9c10ade8bc794e3d8ab
child 696018 ae5539a11d9fbe472d545136e5d764822f4efbb3
child 696021 0a531def292f9ffea61f5f4f578d03713abb1538
child 696033 a678c880543329ba57ce993eda838fe2b967b04b
child 696034 5923f383ba014d75db1fa70aa76073465b03f68e
child 696037 9b8943b07ef551c4d95c458531cf72ae86558191
child 696046 5abee869c24e45101dc21a4ad37593efbd791053
child 696080 25759f0d0105af35fd15b107de26bf466ddfca14
child 696100 fbd6c097a2ebeeba6542fbf0450c38a94c031965
child 696103 c1f5f4919c8d84712851688e3d7db79c0a4dd822
child 696123 c3d13277a183d21522e58e2b6c030fd87a187b8f
child 696125 e53f4a659a6d1dd5678da5fa128ee6bb7bf4f596
child 696130 94f52cce02b95faf32a0ea9e8fe3e5d966c3f75b
child 696143 83a0c420aa92094408c5014e8725597c446b4cfb
child 696151 2f590fda039ae5dc0f822c487248dd84be8f7256
child 696154 5719be48581f48a33ca5aa4be62fd5f6de8c076c
child 696158 fcc168b8aaedefeec142a8ee6a5ff638c5db622e
child 696163 3f518ceb7e792296493f354f2b57973fe727c440
child 696164 5bdeb5eddc9537cb6504519a0ed170c0a5dcc9de
child 696165 1e983abd92ad0cd7475b41f2eb5045d31c9db457
child 696172 001b5984f31f802c7c7b11955f4fddd6f9cbcf9c
child 696173 079e8f98d07279a44d1684fc8bd90420e36ddeac
child 696179 5c931cd2dbb03363d1a5079d6a6b3930e8c1900b
child 696181 a786381df04713fa4e52442dcaff4bc9d7bb4438
child 696185 80474174ca663daffc37537bc811be5d99bd01a0
child 696245 9cfbc1e51e537ad1b6338ca219ce036bf5de8bde
child 696279 978f2b7182094b42f15b3f6ef2190e414ae778ad
child 696282 3919294fd6397a907c38e69926b3750210497fb8
child 696386 4ccf88977ba8de4f1ceec5146b815d4c7dc01d79
child 696438 c894de404f992878764ad434c6f750a8dfee7614
child 696479 a5c8cf7379137859238615e31fd67fc12add9e88
child 696871 5ddedaa4ea7171ace04c01b114b6f15e98e495a6
child 697352 f0975e092a3f139ea1b3dcf4156b297e857c17bb
child 697884 ad8d490909a8898f14ad6bfc1902436838528307
child 698058 6f23f37839f3e33836b3ad33108ad95db3106989
child 699394 d32b3dcea17d69f32abe2081aab00c2f0c1dedf0
push id88592
push userbmo:ayang@mozilla.com
push dateFri, 10 Nov 2017 01:35:01 +0000
reviewersme
bugs1416070
milestone58.0a1
Bug 1416070 - Snooze time bomb in test_validators.js for 80 years or until a devtools peer fixes it. r=me on a CLOSED TREE
devtools/client/shared/vendor/stringvalidator/tests/unit/test_validators.js
--- a/devtools/client/shared/vendor/stringvalidator/tests/unit/test_validators.js
+++ b/devtools/client/shared/vendor/stringvalidator/tests/unit/test_validators.js
@@ -1806,17 +1806,17 @@ function run_test() {
       });
       test({
         validator: 'isBefore',
         valid: [
           '2000-08-04',
           new Date(0).toString(),
           new Date(Date.now() - 86400000).toString(),
         ],
-        invalid: ['2100-07-02', new Date(2017, 10, 10).toString()],
+        invalid: ['2100-07-02', new Date(2097, 10, 10).toString()],
       });
       test({
         validator: 'isBefore',
         args: ['2011-08-03'],
         valid: ['1999-12-31'],
         invalid: ['invalid date'],
       });
       test({