Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / exception-codegen-crash.html
blob4575e38fbc9e4630d8c5422398898e5e2e6e7f1d
1 <p>This page tests some conditions that used to cause crashes during codegen.
2 </p>
3 <p>If you don't crash, you pass.
4 </p>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 var scripts = [
11 "(1++).x;",
12 "/^[s{-.[]()]$/.x;",
13 "(++1).x;",
14 "(1 = 1).x;"
17 try {
18 eval(scripts.join("\n"));
19 } catch (e) {
21 </script>