Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: netwerk/test/unit/xpcshell.toml
/* check resource: protocol for traversal problems */
"use strict";
const specs = [
];
function run_test() {
for (var spec of specs) {
var uri = Services.io.newURI(spec);
if (uri.spec.includes("..")) {
do_throw(
"resource: traversal remains: '" + spec + "' ==> '" + uri.spec + "'"
);
}
}
}