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