From 2fe1a18b3647ee9e6158a3207e3c2af0f2327350 Mon Sep 17 00:00:00 2001 From: "bob%bclary.com" Date: Wed, 8 Jun 2005 05:03:12 +0000 Subject: [PATCH] XML.setNamespace() should affect in-scope namespaces, per brendan. No bug, not part of build. --- js/tests/e4x/XML/13.4.4.36.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/js/tests/e4x/XML/13.4.4.36.js b/js/tests/e4x/XML/13.4.4.36.js index 3ac56da017b..cf2fc7061fc 100644 --- a/js/tests/e4x/XML/13.4.4.36.js +++ b/js/tests/e4x/XML/13.4.4.36.js @@ -25,6 +25,7 @@ * Igor Bukanov * Ethan Hugg * Milen Nankov + * Werner Sharp * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -58,4 +59,12 @@ x.setNamespace("http://bar/"); TEST(2, correct, x); -END(); \ No newline at end of file +var xhtml1NS = new Namespace('http://www.w3.org/1999/xhtml'); +var xhtml = ; +xhtml.setNamespace(xhtml1NS); + +TEST(3, 1, xhtml.namespaceDeclarations().length); + +TEST(4, xhtml1NS, xhtml.namespace()); + +END();