Index: test/webkit/regexp-range-bound-ffff.js |
diff --git a/test/webkit/concat-while-having-a-bad-time.js b/test/webkit/regexp-range-bound-ffff.js |
similarity index 86% |
copy from test/webkit/concat-while-having-a-bad-time.js |
copy to test/webkit/regexp-range-bound-ffff.js |
index dfda1e08a0b36194b787a44ee12a9693acd8aeaf..51663db9bd9b1876a299da68bb759a294f0cf099 100644 |
--- a/test/webkit/concat-while-having-a-bad-time.js |
+++ b/test/webkit/regexp-range-bound-ffff.js |
@@ -22,10 +22,9 @@ |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
description( |
-"Tests the behavior of Array.prototype.concat while the array is having a bad time due to one of the elements we are concatenating." |
-); |
-Object.defineProperty(Array.prototype, 0, { writable: false }); |
-shouldBe("[42].concat()", "[42]"); |
+'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'); |