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

Unified Diff: src/string.js

Issue 1274653002: Ensure `String.prototype.normalize.length` is `0` (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
Index: src/string.js
diff --git a/src/string.js b/src/string.js
index b543a8e2a27b2848b6cd0e07a7ab8e4950b8eca3..7ac52c472e1254a72c535fec7e129efd7c2bdc03 100644
--- a/src/string.js
+++ b/src/string.js
@@ -204,6 +204,7 @@ function StringNormalizeJS(form) {
return %_ValueOf(this);
}
+%FunctionSetLength(StringNormalizeJS, 0);
// This has the same size as the RegExpLastMatchInfo array, and can be used
« src/i18n.js ('K') | « src/i18n.js ('k') | test/intl/string/normalization.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698