Fix the Object.getPrototypeOf function.

Related issue: #208

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
This commit is contained in:
Zsolt Borbély
2015-06-24 11:01:12 +02:00
committed by Peter Gal
parent d7ecd4a467
commit 1c19e5c8ab
3 changed files with 21 additions and 6 deletions
+1 -2
View File
@@ -128,8 +128,7 @@ try {
// Create an object with null as prototype
var obj = Object.create(null)
assert (typeof (obj) === "object");
// FIXME: enable this assertion after the #208 is fixed.
// assert (Object.getPrototypeOf (obj) === null);
assert (Object.getPrototypeOf (obj) === null);
try {
Object.create()