Debian Codegraph @

rhino/testsrc/tests/e4x/XML/13.4.3.10.js

raw symbols SCIP
1 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 gTestfile = '13.4.3.10.js';
7
8 START("13.4.3.10 - XML Constructor [[HasInstance]]");
9
10 printBugNumber(288027);
11
12 var xmlListObject1 = new XMLList('<god>Kibo</god>');
13 var xmlListObject2 = new XMLList('<god>Kibo</god><devil>Xibo</devil>');
14
15 TEST(1, true, xmlListObject1 instanceof XML);
16 TEST(2, true, xmlListObject2 instanceof XML);
17
18 END();