Skip to content

Commit 89deb4c

Browse files
authored
Download mojojs from the new CfT infrastructure (#46704)
1 parent 0d8a86a commit 89deb4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/wpt/browser.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -703,12 +703,12 @@ def install_mojojs(self, dest, browser_binary):
703703

704704
try:
705705
# MojoJS version url must match the browser binary version exactly.
706-
url = ("https://storage.googleapis.com/chrome-wpt-mojom/"
707-
f"{chrome_version}/linux64/mojojs.zip")
706+
url = ("https://storage.googleapis.com/chrome-for-testing-public/"
707+
f"{chrome_version}/mojojs.zip")
708708
# Check the status without downloading the content (this is a streaming request).
709709
get(url)
710710
except requests.RequestException:
711-
# If a valid matching version cannot be found in the wpt archive,
711+
# If a valid matching version cannot be found in the CfT archive,
712712
# download from Chromium snapshots bucket. However,
713713
# MojoJS is only bundled with Linux from Chromium snapshots.
714714
if self.platform == "Linux":

0 commit comments

Comments
 (0)