Debian Codegraph @

rhino/testsrc/tests/e4x/Regress/regress-264369.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-264369.js';
8
9 START("toXMLString() should escape '>'");
10 printBugNumber(264369);
11
12 var x = <a/>;
13 var chars = "<>&";
14 x.b = chars;
15
16 TEST(1, "<b>&lt;&gt;&amp;</b>", x.b.toXMLString());
17
18 END();