Index: test/mjsunit/regress/regress-2284.js |
diff --git a/test/mjsunit/regress/regress-2284.js b/test/mjsunit/regress/regress-2284.js |
index 561401998ad84e75e8baa2fd85b9a10bf8211535..24bf58e2db677db9c13f68090bb5555c2cd9a90e 100644 |
--- a/test/mjsunit/regress/regress-2284.js |
+++ b/test/mjsunit/regress/regress-2284.js |
@@ -27,6 +27,6 @@ |
// Flags: --allow-natives-syntax |
-assertThrows("%foobar();", TypeError); |
-assertThrows("%constructor();", TypeError); |
-assertThrows("%constructor(23);", TypeError); |
+assertThrows("%foobar();", Error); |
+assertThrows("%constructor();", Error); |
+assertThrows("%constructor(23);", Error); |