Debian Codegraph @

rhino/testsrc/tests/js1_8/extensions/regress-476653.js

raw symbols SCIP
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 var gTestfile = 'regress-476653.js';
7 //-----------------------------------------------------------------------------
8 var BUGNUMBER = 476653;
9 var summary = 'Do not crash @ QuoteString';
10 var actual = '';
11 var expect = '';
12
13
14 printBugNumber(BUGNUMBER);
15 printStatus (summary);
16
17 jit(true);
18
19 for each (let x1 in [''])
20 for (i = 0; i < 1; ++i) {}
21 delete uneval;
22 for (i = 0; i < 1; ++i) {}
23 for each (let x in [new String('q'), '', /x/, '', /x/]) {
24 for (var y = 0; y < 7; ++y) { if (y == 2 || y == 6) { setter = x; } }
25 }
26 try
27 {
28 this.(z);
29 }
30 catch(ex)
31 {
32 }
33
34 jit(false);
35
36 reportCompare(expect, actual, summary);
37