Debian Codegraph @

rhino/testsrc/tests/e4x/extensions/regress-462734-01.js

raw symbols SCIP
1 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7 gTestfile = 'regress-462734-01.js';
8
9 var summary = 'Do not assert: pobj_ == obj2';
10 var BUGNUMBER = 462734;
11 var actual = '';
12 var expect = '';
13
14 printBugNumber(BUGNUMBER);
15 START(summary);
16
17 var save__proto__ = this.__proto__;
18
19 try
20 {
21 for (x in function(){}) (<x><y/></x>);
22 this.__defineGetter__("x", Function);
23 __proto__ = x;
24 prototype += <x><y/></x>;
25 }
26 catch(ex)
27 {
28 print(ex + '');
29 }
30
31 __proto__ = save__proto__;
32
33 TEST(1, expect, actual);
34
35 END();