summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_bug321706.js
blob: a267d6586d766ccc6baccb236613fb7bdf27a482 (plain)
1
2
3
4
5
6
7
8
9
10
"use strict";

const url = "http://foo.com/folder/file?/.";

function run_test() {
  var newURI = Services.io.newURI(url);
  Assert.equal(newURI.spec, url);
  Assert.equal(newURI.pathQueryRef, "/folder/file?/.");
  Assert.equal(newURI.resolve("./file?/."), url);
}