Closed Bug 1763230 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33520 - Mojojs install fix

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33520 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33520
Details from upstream follow.

Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com> wrote:

Mojojs install fix

Fixes #27264

The previous implementation of MojoJS installation was only successfully installing on Linux OS because MojoJS is not bundled with Chromium snapshots for non-Linux platforms. MojoJS is platform-agnostic however (as long as the MojoJS version matches the Chrome/Chromium version exactly) and we should be able to install the versions bundled with Linux for non-Linux platforms.
Additionally, we have a MojoJS bucket that is externally available to download from and can be queried based on the Chrome/Chromium version. This change will now pull from this source first and fall back to the Chromium snapshots for Linux.

This tangentially fixes #27264, as an install from a Mac/Windows Chromium snapshot will no longer be attempted.

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/40c6b87e6952
[wpt PR 33520] - MojoJS installs from correct source for non-Linux platforms, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.