Skip to content
Snippets Groups Projects
Commit 1fd4ae4e authored by Beatriz Rizental's avatar Beatriz Rizental Committed by Pier Angelo Vendrame
Browse files

BB 43535: Enable tests

parent c183e7d2
Branches
1 merge request!1505BB/TB 43416: Rebased onto 135.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