Bug 742206 followup. Fix unexpected passes so we can get rid of this CLOSED TREE.
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 02 May 2013 16:33:17 -0400
changeset 130677 dffb1419bb198be2ac10d056a1bce42f9ec0dd9e
parent 130676 a2193ebecd1df932d1f2adc555834c577b628d12
child 130681 42cf8856427e87c3fb64d6a1f07281d19e871cf4
child 130687 66964658a09767946931b40cccfc30a28c6916e9
push id1579
push userphilringnalda@gmail.com
push dateSat, 04 May 2013 04:38:04 +0000
treeherderfx-team@a56432a42a41 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs742206
milestone23.0a1
Bug 742206 followup. Fix unexpected passes so we can get rid of this CLOSED TREE.
content/html/content/test/forms/test_valueasdate_attribute.html
--- 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;