Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
LayoutTests
/
js
/
script-tests
/
regexp-range-bound-ffff.js
blob: ce7b5f5f2fe76298193c2791d8e6865f677b5f64 [
file
] [
log
] [
blame
] [
edit
]
description
(
'Test for rdar:/68455379, a case-insensitive regex containing a character class containing a range with an upper bound of \uFFFF can lead to an infinite-loop.'
);
shouldBe
(
'("A".match(/[\u0001-\uFFFF]/i) == "A")'
,
'true'
);