avm2: Make sure RegExp prototype is not enumerable
This commit is contained in:
parent
18bff18d0b
commit
ab6d5006b4
|
@ -27,5 +27,8 @@ package {
|
||||||
prototype.test = function(str:String = ""):Boolean {
|
prototype.test = function(str:String = ""):Boolean {
|
||||||
return this.AS3::test(str);
|
return this.AS3::test(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prototype.setPropertyIsEnumerable("exec", false);
|
||||||
|
prototype.setPropertyIsEnumerable("test", false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue