Pier Angelo Vendrame pushed to branch mullvad-browser-153.4.0esr-16.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
-
0390b15b
by Beatriz Rizental at 2026-10-07T16:31:47+02:00
-
7eeecda8
by Beatriz Rizental at 2026-10-07T16:31:48+02:00
2 changed files:
Changes:
| ... | ... | @@ -1701,7 +1701,7 @@ class MochitestDesktop: |
| 1701 | 1701 | |
| 1702 | 1702 | if options.testingModulesDir is not None:
|
| 1703 | 1703 | manifestFile.write(
|
| 1704 | - f"resource testing-common file:///{options.testingModulesDir}\n"
|
|
| 1704 | + f"resource testing-common {Path(options.testingModulesDir).as_uri()}/\n"
|
|
| 1705 | 1705 | )
|
| 1706 | 1706 | if options.store_chrome_manifest:
|
| 1707 | 1707 | shutil.copyfile(manifest, options.store_chrome_manifest)
|
| ... | ... | @@ -40,18 +40,6 @@ this.specialpowers = class extends ExtensionAPI { |
| 40 | 40 | uri,
|
| 41 | 41 | resProto.ALLOW_CONTENT_ACCESS
|
| 42 | 42 | );
|
| 43 | - } else {
|
|
| 44 | - // This is a hack!
|
|
| 45 | - // For some reason, this specific substituion has an extra `/` in the path.
|
|
| 46 | - // This is a workaround to fix it.
|
|
| 47 | - //
|
|
| 48 | - // TODO (#43545): Remove this once we have a proper fix.
|
|
| 49 | - let uri = resProto.getSubstitution("testing-common");
|
|
| 50 | - resProto.setSubstitution(
|
|
| 51 | - "testing-common",
|
|
| 52 | - Services.io.newURI(uri.spec.replace("file:////", "file:///")),
|
|
| 53 | - resProto.ALLOW_CONTENT_ACCESS
|
|
| 54 | - );
|
|
| 55 | 43 | }
|
| 56 | 44 | |
| 57 | 45 | SpecialPowersParent.registerActor();
|