| Index: test/mjsunit/strict-mode.js
|
| diff --git a/test/mjsunit/strict-mode.js b/test/mjsunit/strict-mode.js
|
| index 2d676b425946e85974d6692dfcc707c1f5579fa4..fcfe264e988471becfb6804ff10037d5201ea2ff 100644
|
| --- a/test/mjsunit/strict-mode.js
|
| +++ b/test/mjsunit/strict-mode.js
|
| @@ -842,12 +842,14 @@ repeat(10, function() {
|
| }
|
|
|
| for (var i = 0; i < 10; i ++) {
|
| + var exception = false;
|
| try {
|
| strict(o, name);
|
| - assertUnreachable();
|
| } catch(e) {
|
| + exception = true;
|
| assertInstanceof(e, TypeError);
|
| }
|
| + assertTrue(exception);
|
| }
|
| })();
|
|
|
|
|