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 391062 ed94dc665071d8d510688ff50bbedad2c7cb33ee
parent 391061 41a66272bd113526fa1e533268ebd5bbf39f7532
child 391063 5ece2d052e8eecc7cc9ac9c10ade8bc794e3d8ab
child 391163 9cfbc1e51e537ad1b6338ca219ce036bf5de8bde
child 391166 80474174ca663daffc37537bc811be5d99bd01a0
push id97184
push userarchaeopteryx@coole-files.de
push dateFri, 10 Nov 2017 00:59:00 +0000
treeherdermozilla-inbound@5ece2d052e8e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1416070
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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({