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

Unified Diff: test/mjsunit/regress/regress-4654.js

Issue 1645223003: Fix Unicode string normalization with null bytes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/runtime/runtime-i18n.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-4654.js
diff --git a/test/mjsunit/compiler/regress-572409.js b/test/mjsunit/regress/regress-4654.js
similarity index 62%
copy from test/mjsunit/compiler/regress-572409.js
copy to test/mjsunit/regress/regress-4654.js
index 126b622625ad4455b4bd2e309ee10e32eb02989e..eb08b1126ead9f03c67d301bd0ee332cba4c0546 100644
--- a/test/mjsunit/compiler/regress-572409.js
+++ b/test/mjsunit/regress/regress-4654.js
@@ -2,9 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var o = function() {};
-function f() {
- var lit = { __proto__: o };
- o instanceof RegExp;
-}
-f();
+assertEquals('hello\u0000foobar', 'hello\u0000foobar'.normalize('NFC'));
« no previous file with comments | « src/runtime/runtime-i18n.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698