Delete a test that hg backout failed to back out.
authorJason Orendorff <jorendorff@mozilla.com>
Wed, 13 Jul 2011 10:46:38 -0500
changeset 75205 1d1952d5674ccf8516ee36d884a47bd3b9084043
parent 75204 1584eac72bf076f552e787640dd2cf4d0fd4c843
child 75206 87fcbd9379482902399c39438b759a49e12ae9cc
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
milestone8.0a1
Delete a test that hg backout failed to back out.
js/src/jit-test/tests/debug/Object-defineProperty-09.js
deleted file mode 100644
--- a/js/src/jit-test/tests/debug/Object-defineProperty-09.js
+++ /dev/null
@@ -1,26 +0,0 @@
-// defineProperty can't re-define non-configurable properties.
-// Also: when defineProperty throws, the exception is native to the debugger
-// compartment, not a wrapper.
-
-load(libdir + "asserts.js");
-
-var g = newGlobal('new-compartment');
-var dbg = new Debugger;
-var gw = dbg.addDebuggee(g);
-gw.defineProperty("p", {value: 1});
-g.p = 4;
-assertEq(g.p, 1);
-
-var threw;
-try {
-    gw.defineProperty("p", {value: 2});
-    threw = false;
-} catch (exc) {
-    threw = true;
-    assertEq(exc instanceof TypeError, true);
-    assertEq(typeof exc.message, "string");
-    assertEq(typeof exc.stack, "string");
-}
-assertEq(threw, true);
-
-assertEq(g.p, 1);