OLD | NEW |
---|---|
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 var sentinel = null; | |
6 | |
5 try { | 7 try { |
6 load("test/mjsunit/regress/regress-444805.js-script"); | 8 throw { toString: function() { sentinel = "observed"; } }; |
7 } catch (e) { | 9 } catch (e) { |
8 } | 10 } |
Michael Starzinger
2015/05/22 16:18:39
Can we also add the following construct to the tes
| |
11 | |
12 assertNull(sentinel); | |
OLD | NEW |