haikuwebkit/LayoutTests/js/dom/regexp-extended-characters-...

15 lines
615 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This test checks for a regression against JavaScript regular expressions with certain ranges of Unicode characters cause a crash. If it fails, it may crash.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS new RegExp("[À-Ὅ]").toString() is /[À-Ὅ]/.toString()
PASS new RegExp("[ぁ-ゔ]").toString() is /[ぁ-ゔ]/.toString()
PASS new RegExp("[䴀-䶵]").toString() is /[䴀-䶵]/.toString()
PASS new RegExp("[一-龥]").toString() is /[一-龥]/.toString()
PASS new RegExp("[-Ὅ]").toString() is /[-Ὅ]/.toString()
PASS successfullyParsed is true
TEST COMPLETE