Skip to content

Turn on MojoJS in Chrome nightly (Chromium trunk)#24739

Merged
Hexcles merged 1 commit intomasterfrom
mojojs
Jul 27, 2020
Merged

Turn on MojoJS in Chrome nightly (Chromium trunk)#24739
Hexcles merged 1 commit intomasterfrom
mojojs

Conversation

@Hexcles
Copy link
Member

@Hexcles Hexcles commented Jul 24, 2020

  • install_mojo is added to wpt.browser.Chrome and used automatically
    when running the nightly channel (only nightly is supported for now).
  • A new flag, --enable-mojojs, is added to wptrunner, which will map
    downloaded Mojo bindings to /gen/, and add necessary flags to Chrome.
  • In wpt run, if mojojs.zip is downloaded successfully,
    --enable-mojojs flag is added automatically when starting wptrunner.

(A bunch of drive-by auto style fixes are included, too.)

Test: ./wpt run --install-browser --channel=nightly chrome webxr/xrDevice_requestSession_immersive.https.html now passes!

* install_mojo is added to wpt.browser.Chrome and used automatically
  when running the nightly channel (only nightly is supported for now).
* A new flag, --enable-mojojs, is added to wptrunner, which will map
  downloaded Mojo bindings to /gen/, and add necessary flags to Chrome.
* In `wpt run`, if mojojs.zip is downloaded successfully,
  --enable-mojojs flag is added automatically when starting wptrunner.
@Hexcles Hexcles requested a review from LukeZielinski July 24, 2020 17:47
@wpt-pr-bot wpt-pr-bot added infra wpt wptrunner The automated test runner, commonly called through ./wpt run labels Jul 24, 2020
@Hexcles Hexcles assigned LukeZielinski and unassigned Hexcles Jul 24, 2020
Copy link
Contributor

@LukeZielinski LukeZielinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!
I assume #24742 will fix the unit test problem, but should we also expect to see lots of additional passes on the wpt.fyi checks (which for some reason didn't really run on this PR)?

@Hexcles
Copy link
Member Author

Hexcles commented Jul 24, 2020

This only affects the newly added Chrome nightly, which isn't being scheduled at all right now.

@Hexcles Hexcles closed this Jul 24, 2020
@Hexcles Hexcles reopened this Jul 24, 2020
@Hexcles
Copy link
Member Author

Hexcles commented Jul 24, 2020

Tests now pass.

@Hexcles Hexcles merged commit ec838e0 into master Jul 27, 2020
@Hexcles Hexcles deleted the mojojs branch July 27, 2020 14:14
Hexcles added a commit that referenced this pull request Aug 12, 2020
Automatically download mojojs.zip and turn on relevant flags for Chrome
Dev. Follow-up to #24739.
Hexcles added a commit that referenced this pull request Aug 14, 2020
Automatically download mojojs.zip and turn on relevant flags for Chrome
Dev. Follow-up to #24739.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra wpt wptrunner The automated test runner, commonly called through ./wpt run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants