Skip to content
Snippets Groups Projects
Commit 2723db51 authored by Beatriz Rizental's avatar Beatriz Rizental
Browse files

BB 43535: Enable tests

parent 496eee71
Branches
Tags
1 merge request!1507Rebase Tor Browser onto 136.0a1
......@@ -40,6 +40,18 @@ this.specialpowers = class extends ExtensionAPI {
uri,
resProto.ALLOW_CONTENT_ACCESS
);
} else {
// This is a hack!
// For some reason, this specific substituion has an extra `/` in the path.
// This is a workaround to fix it.
//
// TODO (#43545): Remove this once we have a proper fix.
let uri = resProto.getSubstitution("testing-common");
resProto.setSubstitution(
"testing-common",
Services.io.newURI(uri.spec.replace("file:////", "file:///")),
resProto.ALLOW_CONTENT_ACCESS
);
}
SpecialPowersParent.registerActor();
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment