author | Boris Zbarsky <bzbarsky@mit.edu> |
Thu, 02 May 2013 16:33:17 -0400 | |
changeset 141612 | dffb1419bb198be2ac10d056a1bce42f9ec0dd9e |
parent 141611 | a2193ebecd1df932d1f2adc555834c577b628d12 |
child 141616 | 42cf8856427e87c3fb64d6a1f07281d19e871cf4 |
child 141622 | 66964658a09767946931b40cccfc30a28c6916e9 |
push id | 2579 |
push user | akeybl@mozilla.com |
push date | Mon, 24 Jun 2013 18:52:47 +0000 |
treeherder | mozilla-beta@b69b7de8a05a [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 742206 |
milestone | 23.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
|
content/html/content/test/forms/test_valueasdate_attribute.html | file | annotate | diff | comparison | revisions |
--- a/content/html/content/test/forms/test_valueasdate_attribute.html +++ b/content/html/content/test/forms/test_valueasdate_attribute.html @@ -345,31 +345,31 @@ function checkWithBustedPrototype() Date.prototype.getUTCFullYear = function() { return {}; }; Date.prototype.getUTCMonth = function() { return {}; }; Date.prototype.getUTCDate = function() { return {}; }; Date.prototype.getTime = function() { return {}; }; Date.prototype.setUTCFullYear = function(y,m,d) { }; element.valueAsDate = new Date(); - todo_isnot(element.valueAsDate, null, ".valueAsDate should not return null"); + isnot(element.valueAsDate, null, ".valueAsDate should not return null"); // TODO: check the Date object value (UTCFullYear, UTCMonth and UTCDate) // when .valueAsDate will stop returning null. // Same test as above but using NaN instead of {}. Date.prototype.getUTCFullYear = function() { return NaN; }; Date.prototype.getUTCMonth = function() { return NaN; }; Date.prototype.getUTCDate = function() { return NaN; }; Date.prototype.getTime = function() { return NaN; }; Date.prototype.setUTCFullYear = function(y,m,d) { }; element.valueAsDate = new Date(); - todo_isnot(element.valueAsDate, null, ".valueAsDate should not return null"); + isnot(element.valueAsDate, null, ".valueAsDate should not return null"); // TODO: check the Date object value (UTCFullYear, UTCMonth and UTCDate) // when .valueAsDate will stop returning null. Date.prototype.getUTCFullYear = backupPrototype.getUTCFullYear; Date.prototype.getUTCMonth = backupPrototype.getUTCMonth; Date.prototype.getUTCDate = backupPrototype.getUTCDate; Date.prototype.getTime = backupPrototype.getTime; Date.prototype.setUTCFullYear = backupPrototype.setUTCFullYear;