mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
Mirror fix for bug 290774 from SpiderMonkey to Narcissus.
This commit is contained in:
parent
3adc4183e7
commit
9c322522a7
@ -738,6 +738,11 @@ function Activation(f, a) {
|
||||
this.__defineProperty__('arguments', a, true);
|
||||
}
|
||||
|
||||
|
||||
// Null Activation.prototype's proto slot so that Object.prototype.* does not
|
||||
// pollute the scope of heavyweight functions.
|
||||
Activation.prototype.__proto__ = null;
|
||||
|
||||
function FunctionObject(node, scope) {
|
||||
this.node = node;
|
||||
this.scope = scope;
|
||||
|
Loading…
x
Reference in New Issue
Block a user