3 add_task(function test_extractScheme() {
4 equal(Services
.io
.extractScheme("HtTp://example.com"), "http");
7 Services
.io
.extractScheme("://example.com");
9 /NS_ERROR_MALFORMED_URI/,
14 Services
.io
.extractScheme("ht%tp://example.com");
16 /NS_ERROR_MALFORMED_URI/,