Debian Codegraph @

rhino/testsrc/tests/js1_5/Regress/regress-463782.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-463782.js';
7 //-----------------------------------------------------------------------------
8 var BUGNUMBER = 463782;
9 var summary = 'Do not assert: "need a way to EOT now, since this is trace end": 0';
10 var actual = '';
11 var expect = '';
12
13 printBugNumber(BUGNUMBER);
14 printStatus (summary);
15
16 jit(true);
17
18 function dateCheck() {
19 return true;
20 }
21 function dateToString()
22 {
23 if (!this.dtsReturnValue)
24 this.dtsReturnValue = "200811080616";
25 return this.dtsReturnValue
26 }
27
28 function placeAd2() {
29 var adClasses = {
30 "": {
31 templateCheck: function () {
32 var foo = ({
33 allianz:{
34 where:["intl/turningpoints"],
35 when:["200805010000/200901010000"],
36 what:["!234x60", "!bigbox_2", "!leaderboard_2", "!88x31"]
37 },
38 trendMicro:{
39 where:["techbiz/tech/threatmeter"],
40 when:["200806110000/200812310000"],
41 what:["leaderboard"]
42 },
43 rolex_bb:{
44 where:["politics/transitions"],
45 when:["200811050000/200901312359"],
46 what:["!bigbox"]
47 }
48 });
49
50 for (a in foo) {
51 if (dateCheck("", dateToString())) {
52 for (var c = 0; c < 1; c++) {
53 }
54 }
55 }
56 return true;
57 }
58 }
59 };
60
61 adClasses[""].templateCheck();
62 }
63
64 placeAd2();
65
66 jit(false);
67
68 reportCompare(expect, actual, summary);
69