Bug 945241 - Add test rs=test
authorNicholas D. Matsakis <nmatsakis@mozilla.com>
Tue, 17 Dec 2013 11:20:17 -0500
changeset 160856 f542c81e7e31ebff879ad1a5983f8d99230cfa8f
parent 160855 afe7a6c1c9b22119a7c78d353a41b4cc3a9a391c
child 160857 9defe3666015ff19e25719e2a74ea36ca49f33fc
child 160874 f678b20219e5dec371d1efc1de6eef45b04863a9
push id37726
push usernmatsakis@mozilla.com
push dateTue, 17 Dec 2013 17:25:39 +0000
treeherdermozilla-inbound@f542c81e7e31 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest
bugs945241
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 945241 - Add test rs=test
js/src/jit-test/tests/TypedObject/gcunattachedhandle.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/TypedObject/gcunattachedhandle.js
@@ -0,0 +1,13 @@
+// Test that we can trace a unattached handle.
+
+/*
+ * Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/licenses/publicdomain/
+ */
+
+if (!this.hasOwnProperty("TypedObject"))
+  quit();
+
+var Object = TypedObject.Object;
+var handle0 = Object.handle();
+gc();