Remove test until v3.0 when we'll enforce uniform skipping of the constructor property of prototype objects.

This commit is contained in:
John-David Dalton
2014-01-07 08:30:55 -08:00
parent d309eb8fa1
commit 1dcfdfdb65

View File

@@ -2588,19 +2588,6 @@
func(new Foo, function(value, key) { keys.push(key); });
deepEqual(keys.sort(), ['a', 'b']);
});
test('`_.' + methodName + '` fixes the JScript [[DontEnum]] bug with inherited properties (test in IE < 9)', 1, function() {
function Foo() {}
Foo.prototype = shadowedObject;
function Bar() {}
Bar.prototype = new Foo;
Bar.prototype.constructor = Bar;
var keys = [];
func(new Bar, function(value, key) { keys.push(key); });
deepEqual(keys.sort(), shadowedProps);
});
});
/*--------------------------------------------------------------------------*/