mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
JavaScript Tests - update test to ignore 1ms differences, bug 354998
This commit is contained in:
parent
54752ea48e
commit
1e5faaaac5
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user