Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

/* 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"
);
});