JavaScript Tests - update test to ignore 1ms differences, bug 354998

This commit is contained in:
bclary@bclary.com 2007-06-15 10:16:08 -07:00
parent 0d4d6ed53c
commit 689e0fcc43

View File

@ -77,7 +77,7 @@ var time2 = test();
for (var i = 0; i != 1000*1000; ++i)
delete Object.prototype[i];
if (time1 * 10 < time2) {
if (time1 * 10 + 1 < time2) {
throw "Assigns to Object.prototype increased time of XML enumeration from "+
time1+"ms to "+time2+"ms";
}