Sign in
webkit
/
WebKit
/
5969b6f1f74632b1546edb27bd956b187c2c3d52
/
.
/
LayoutTests
/
js
/
script-tests
/
regexp-range-bound-ffff.js
blob: ce7b5f5f2fe76298193c2791d8e6865f677b5f64 [
file
] [
log
] [
blame
]
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'
);