Sign in
webkit
/
WebKit
/
40d9a847568ff9976450dcc37c680efd7351c7ed
/
.
/
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'
);