nashorn/test/script/basic/JDK-8024120.js
changeset 24281 58ed42a1ebc6
parent 19880 ba17a955c28b
child 24778 2ff5d7041566
--- a/nashorn/test/script/basic/JDK-8024120.js	Tue May 06 12:38:12 2014 +0200
+++ b/nashorn/test/script/basic/JDK-8024120.js	Tue May 06 17:54:15 2014 +0530
@@ -32,10 +32,6 @@
 
 obj.__proto__ = null;
 
-if (obj.__proto__ !== null || typeof(obj.__proto__) != 'object') {
-    fail("obj.__proto__ is expected to be null");
-}
-
 var p = Object.getPrototypeOf(obj);
 if (p !== null || typeof(p) != 'object') {
     fail("Object.getPrototypeOf(obj) is expected to be null");