/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ gTestfile = '13.4.4.38.js'; START("13.4.4.38 - XML toString()"); TEST(1, true, XML.prototype.hasOwnProperty("toString")); XML.prettyPrinting = false; x = one two ; TEST(2, "one", x.bravo.toString()); TEST(3, "onetwo", x..bravo.toString()); x = one ; TEST(4, "", x.charlie.toString()); x = one two ; TEST(5, "two", x.charlie.toString()); x = one two ; TEST(5, "two", x.charlie.toString()); x = ; TEST(6, "", x.bravo.toString()); x = one two ; TEST(7, "onetwo", x.bravo.toString()); END();