From 1dcfdfdb65a2f4140adaaabda47cb40d34fd9a13 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 7 Jan 2014 08:30:55 -0800 Subject: [PATCH] Remove test until v3.0 when we'll enforce uniform skipping of the constructor property of prototype objects. --- test/test.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/test.js b/test/test.js index 4caddeae0..ec4c0bfc5 100644 --- a/test/test.js +++ b/test/test.js @@ -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); - }); }); /*--------------------------------------------------------------------------*/