Add tests for bug 632778, r=jorendorff

This commit is contained in:
Gary Kwong 2012-06-25 13:38:36 -07:00
parent f9fd0cd40d
commit 95a1a97893
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,6 @@
function f() {
"use strict";
}
g = wrap(f);
Object.defineProperty(g, "arguments", {set: function(){}});

View File

@ -0,0 +1,3 @@
obj = wrap(Number.bind());
Object.defineProperty(obj, "caller", {set: function () {}});