Commit 7eeecda8 authored by brizental's avatar brizental Committed by Pier Angelo Vendrame
Browse files

fixup! BB 45120: Add tests for Base Browser

Bug 44820: The mochitest harness built the testing-common resource
mapping as "file:///" + testingModulesDir. On Linux and macOS
testingModulesDir is already an absolute path, so this produced
"file:////home/...", which content processes fail to load from.
parent 0390b15b
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for testing/mochitest/runtests.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1701,7 +1701,7 @@ class MochitestDesktop:

            if options.testingModulesDir is not None:
                manifestFile.write(
                    f"resource testing-common file:///{options.testingModulesDir}\n"
                    f"resource testing-common {Path(options.testingModulesDir).as_uri()}/\n"
                )
        if options.store_chrome_manifest:
            shutil.copyfile(manifest, options.store_chrome_manifest)