Cleanup and add "Mobile" note to Safari 8 JIT bug test. [ci skip]

This commit is contained in:
John-David Dalton
2014-11-28 16:03:13 -08:00
parent 5c7cc146a1
commit db50adbd9f

View File

@@ -3579,14 +3579,14 @@
}
});
test('should iterate correctly over an object with numeric keys (test in Safari 8)', 1, function() {
test('should iterate correctly over an object with numeric keys (test in Mobile Safari 8)', 1, function() {
// Trigger a Mobile Safari 8 JIT bug.
// See https://github.com/lodash/lodash/issues/799.
var counter = 0,
object = { '1': 'foo', '8': 'bar', '50': 'baz' };
_.times(10000, function() {
_.filter([]);
_.times(1000, function() {
_.filter([], _.constant(true));
});
_.filter(object, function() {