3
3
load("../../lib/utils.js");
6
5
// Alas, the test framework uses dump(), which croaks on nulls. We must
7
6
// therefore avoid using them in any of the literals that could be
9
9
do_check_eq(ecmaEscape("\x01\x02\x03\x04\x05"), "%01%02%03%04%05");
10
10
do_check_eq(ecmaEscape("\u0001\u0002\u0003\u0004\u0005"), "%01%02%03%04%05");
11
11
do_check_eq(ecmaEscape("\u0100\u0101\u0102\u0103\u0104"), "%u0100%u0101%u0102%u0103%u0104");