Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

// Tests for nsITextToSubURI.unEscapeURIForUI
function run_test() {
// Tests whether incomplete multibyte sequences throw.
const tests = [
{
//TODO: should be the same as input, bug 1248812
},
{
dontEscape: true,
},
];
for (const t of tests) {
Assert.equal(
Services.textToSubURI.unEscapeURIForUI(t.input, t.dontEscape),
t.expected
);
}
}