| Index: test/mjsunit/call-intrinsic-type-error.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-582703.js b/test/mjsunit/call-intrinsic-type-error.js
|
| similarity index 72%
|
| copy from test/mjsunit/regress/regress-crbug-582703.js
|
| copy to test/mjsunit/call-intrinsic-type-error.js
|
| index 792266f54cd9d124b2d2675100d3d1e8b82c4dd3..9d586977d924829f664a34c915440b5c8498dd63 100644
|
| --- a/test/mjsunit/regress/regress-crbug-582703.js
|
| +++ b/test/mjsunit/call-intrinsic-type-error.js
|
| @@ -4,5 +4,8 @@
|
|
|
| // Flags: --allow-natives-syntax
|
|
|
| -%FunctionGetScript({});
|
| -%FunctionGetSourceCode({});
|
| +try {
|
| + %Call(1, 0);
|
| +} catch (e) {
|
| + assertTrue(e instanceof TypeError);
|
| +}
|
|
|