mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Add tests for bug 632778, r=jorendorff
This commit is contained in:
parent
f9fd0cd40d
commit
95a1a97893
6
js/src/jit-test/tests/basic/bug632778-1.js
Normal file
6
js/src/jit-test/tests/basic/bug632778-1.js
Normal file
@ -0,0 +1,6 @@
|
||||
function f() {
|
||||
"use strict";
|
||||
}
|
||||
g = wrap(f);
|
||||
Object.defineProperty(g, "arguments", {set: function(){}});
|
||||
|
3
js/src/jit-test/tests/basic/bug632778-2.js
Normal file
3
js/src/jit-test/tests/basic/bug632778-2.js
Normal file
@ -0,0 +1,3 @@
|
||||
obj = wrap(Number.bind());
|
||||
Object.defineProperty(obj, "caller", {set: function () {}});
|
||||
|
Loading…
Reference in New Issue
Block a user