Bug 736807 - Fix test added by fc8534cfca3d to test for gczeal (r=orange)

This commit is contained in:
Luke Wagner 2012-03-19 11:47:23 -07:00
parent 176cb177d1
commit 7a6b47a381

View File

@ -1,7 +1,8 @@
function f() {
newGlobal('new-compartment').eval('\
try {\
gczeal(2,1); \
if (typeof gczeal === "function") \
gczeal(2,1); \
throw new Error();\
} catch (e) { \
gc(); \