repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 1931425 - Limit how often moz-label's #setStyles runs r=reusable-components-revie...
[gecko.git]
/
netwerk
/
test
/
unit
/
test_bug321706.js
blob
a267d6586d766ccc6baccb236613fb7bdf27a482
1
"use strict"
;
2
3
const
url
=
"http://foo.com/folder/file?/."
;
4
5
function
run_test
() {
6
var
newURI
=
Services
.
io
.
newURI
(
url
);
7
Assert
.
equal
(
newURI
.
spec
,
url
);
8
Assert
.
equal
(
newURI
.
pathQueryRef
,
"/folder/file?/."
);
9
Assert
.
equal
(
newURI
.
resolve
(
"./file?/."
),
url
);
10
}