JavaScript Tests - update tests to reflect changed behavior due to bug 409252
authorbclary@bclary.com
Thu, 20 Dec 2007 16:02:14 -0800
changeset 9565 0548776e422fc1af5dbe918abddcabe881eb23b3
parent 9564 8a51775cdab0be83def656a69fb68b9bd3bcd541
child 9566 6ea66b06341c6165a96d4ed3d6423574974f7f81
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherderautoland@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs409252
milestone1.9b3pre
JavaScript Tests - update tests to reflect changed behavior due to bug 409252
js/tests/e4x/Regress/regress-407323.js
js/tests/js1_5/Regress/regress-407323.js
--- a/js/tests/e4x/Regress/regress-407323.js
+++ b/js/tests/e4x/Regress/regress-407323.js
@@ -56,12 +56,12 @@ QName = obj;
 TEST(1, obj, QName);
 
 XML = obj;
 TEST(2, obj, XML);
 
 XMLList = obj;
 TEST(3, obj, XMLList);
 
-Namespace = {};
-TEST(4, saveNamespace, Namespace);
+Namespace = obj;
+TEST(4, obj, Namespace);
 
 END();
--- a/js/tests/js1_5/Regress/regress-407323.js
+++ b/js/tests/js1_5/Regress/regress-407323.js
@@ -63,13 +63,13 @@ function test()
   reportCompare(obj, QName, summary + ': QName');
 
   XML = obj;
   reportCompare(obj, XML, summary + ': XML');
 
   XMLList = obj;
   reportCompare(obj, XMLList, summary + ': XMLList');
 
-  Namespace = {};
-  reportCompare(saveNamespace, Namespace, summary);
+  Namespace = obj;
+  reportCompare(obj, Namespace, summary + ': Namespace');
 
   exitFunc ('test');
 }