Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: src/regexp-delay.js

Issue 40300: Implemented invalid UTF8 detection in decodeURI. (Closed)
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/uri.js » ('j') | src/uri.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | src/uri.js » ('j') | src/uri.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698