1 description("Canonicalization of path URLs");
4 ["javascript:", "javascript:"],
5 ["JavaScript:Foo", "javascript:Foo"],
6 // Disabled because this gets treated as a relative URL.
7 // [":\":This /is interesting;?#", ":\":This /is interesting;?#"],
10 for (var i
= 0; i
< cases
.length
; ++i
) {
11 test_vector
= cases
[i
][0];
12 expected_result
= cases
[i
][1];
13 shouldBe("canonicalize('" + test_vector
+ "')",
14 "'" + expected_result
+ "'");