Update Object.keys and Object.getOwnPropertyDescriptor tests to use reportCompare for browser jstests' sake, no bug, r=lumpy
authorJeff Walden <jwalden@mit.edu>
Mon, 28 Sep 2009 13:09:56 -0700
changeset 33547 87fcc6cb16af9bef51bdd1428e5a84a732cb1f7a
parent 33546 2150882a6548a6394fbc3d1554a40e4e00b4c71c
child 33548 b7ed28f9d92d30b31a0168ad23f625e38716d83c
push idunknown
push userunknown
push dateunknown
reviewerslumpy
milestone1.9.3a1pre
Update Object.keys and Object.getOwnPropertyDescriptor tests to use reportCompare for browser jstests' sake, no bug, r=lumpy
js/src/tests/ecma_5/Object/15.2.3.14-01.js
js/src/tests/ecma_5/Object/15.2.3.3-01.js
js/src/tests/ecma_5/Object/jstests.list
--- a/js/src/tests/ecma_5/Object/15.2.3.14-01.js
+++ b/js/src/tests/ecma_5/Object/15.2.3.14-01.js
@@ -83,9 +83,11 @@ if (typeof Namespace !== "undefined" && 
   o2.baz = 4;
   var keys2 = Object.keys(o2);
   assertEq(arraysEqual(keys2, ["f", "foo::v", "baz"]), true,
            "" + keys2);
 }
 
 /******************************************************************************/
 
+reportCompare(actual, expect, "Object.keys");
+
 printStatus("All tests passed!");
--- a/js/src/tests/ecma_5/Object/15.2.3.3-01.js
+++ b/js/src/tests/ecma_5/Object/15.2.3.3-01.js
@@ -333,9 +333,11 @@ expected =
     enumerable: false,
     configurable: false
   };
 
 expectDescriptor(pd, expected);
 
 /******************************************************************************/
 
+reportCompare(expect, actual, "Object.getOwnPropertyDescriptor");
+
 printStatus("All tests passed");
--- a/js/src/tests/ecma_5/Object/jstests.list
+++ b/js/src/tests/ecma_5/Object/jstests.list
@@ -1,3 +1,3 @@
 url-prefix ../../jsreftest.html?test=ecma_5/Object/
-skip script 15.2.3.3-01.js # does not use reportCompare
-skip script 15.2.3.14-01.js # does not use reportCompare
+script 15.2.3.3-01.js # does not use reportCompare
+script 15.2.3.14-01.js # does not use reportCompare