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

Unified Diff: test/intl/string/normalization.js

Issue 1274653002: Ensure `String.prototype.normalize.length` is `0` (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update as per @rossberg’s feedback 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
« no previous file with comments | « src/string.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/intl/string/normalization.js
diff --git a/test/intl/string/normalization.js b/test/intl/string/normalization.js
index 446d6277db174878de2a732cf0b0d449ed2f09f9..25d314ea287c8b173db367c04212311970f1cc51 100644
--- a/test/intl/string/normalization.js
+++ b/test/intl/string/normalization.js
@@ -27,6 +27,8 @@
// Tests the new String.prototype.normalize method.
+assertEquals(String.prototype.normalize.length, 0);
+assertEquals(String.prototype.propertyIsEnumerable("normalize"), false);
// Common use case when searching for 'not very exact' match.
// These are examples of data one might encounter in real use.
« no previous file with comments | « src/string.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698