Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android'
- Manifest: devtools/client/aboutdebugging/test/xpcshell/xpcshell.toml
/* global equal */
"use strict";
const {
parseFileUri,
} = require("resource://devtools/client/aboutdebugging/src/modules/extensions-helper.js");
add_task(async function testParseFileUri() {
equal(
"/home/me/my-extension/",
"UNIX paths are supported"
);
equal(
"C:/Documents/my-extension/",
"Windows paths are supported"
);
equal(
"home/Documents/my-extension/",
"Windows network paths are supported"
);
});