| Index: test/mjsunit/mjsunit.js
|
| diff --git a/test/mjsunit/mjsunit.js b/test/mjsunit/mjsunit.js
|
| index 65fb301b440ead7c7db977059beb9d3088f0519b..25d7c004326ce3df03ebe83edb2f0becd5336bba 100644
|
| --- a/test/mjsunit/mjsunit.js
|
| +++ b/test/mjsunit/mjsunit.js
|
| @@ -321,7 +321,7 @@ var assertUnreachable;
|
| assertInstanceof = function assertInstanceof(obj, type) {
|
| if (!(obj instanceof type)) {
|
| var actualTypeName = null;
|
| - var actualConstructor = Object.prototypeOf(obj).constructor;
|
| + var actualConstructor = Object.getPrototypeOf(obj).constructor;
|
| if (typeof actualConstructor == "function") {
|
| actualTypeName = actualConstructor.name || String(actualConstructor);
|
| }
|
|
|