Chromium Code Reviews| Index: test/mjsunit/harmony/unicode-regexp-unanchored-advance.js |
| diff --git a/test/mjsunit/regress/regress-crbug-570241.js b/test/mjsunit/harmony/unicode-regexp-unanchored-advance.js |
| similarity index 56% |
| copy from test/mjsunit/regress/regress-crbug-570241.js |
| copy to test/mjsunit/harmony/unicode-regexp-unanchored-advance.js |
| index 4fecba57b5a96c77852e9b0b97ff8d2228957e01..e9871f1163cb316c22ca37e266d33a61fc92af4b 100644 |
| --- a/test/mjsunit/regress/regress-crbug-570241.js |
| +++ b/test/mjsunit/harmony/unicode-regexp-unanchored-advance.js |
| @@ -2,6 +2,7 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -// Flags: --harmony-regexp-lookbehind |
| +// Flags: --harmony-unicode-regexps |
| -assertTrue(/(?<=12345123451234512345)/.test("12345123451234512345")); |
| +var s = "a".repeat(1E8) + "\u1234"; |
|
erikcorry
2016/02/09 08:04:47
I think this will time out on ARM.
|
| +assertEquals(["\u1234", "\u1234"], /(\u1234)/u.exec(s)); |