Chromium Code Reviews| Index: src/regexp-delay.js |
| diff --git a/src/regexp-delay.js b/src/regexp-delay.js |
| index f1ded9d2f56f2a9d0156de106a3d8fc30b7564a1..66f23b00f182ebf60767d70b1b9068c38162954e 100644 |
| --- a/src/regexp-delay.js |
| +++ b/src/regexp-delay.js |
| @@ -302,10 +302,6 @@ function SetupRegExp() { |
| "compile", CompileRegExp |
| )); |
|
Lasse Reichstein
2009/03/10 07:25:03
Was the comment wrong, or has Firefox changed to 1
Christian Plesner Hansen
2009/03/10 07:46:52
The comment was wrong in the sense that the spec d
|
| - // The spec says nothing about the length of exec and test, but |
| - // SpiderMonkey and KJS have length equal to 0. |
| - %FunctionSetLength($RegExp.prototype.exec, 0); |
| - %FunctionSetLength($RegExp.prototype.test, 0); |
| // The length of compile is 1 in SpiderMonkey. |
| %FunctionSetLength($RegExp.prototype.compile, 1); |