servo / servo/book

Document necessary preferences for running on HarmonyOS NEXT

Open
#35 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
42
Forks
71
Avg merge
1d 5h
Merged PRs (30d)
8

Description

On HarmonyOS NEXT JIT is forbidden by the system policy, so one needs to disable JIT in the servo preferences.
In the future we could perhaps during startup check in servo / the embedder if JIT is possible and disable JIT based on the result of those checks, but for now it is sufficient to document the required preferences.

prefs.json:

  "js.disable_jit": true,

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by finding the Servo Book section that documents preferences or HarmonyOS NEXT setup, then record the required setting from prefs.json: "js.disable_jit": true. Done means the documentation clearly explains that HarmonyOS NEXT forbids JIT and identifies this preference as the required workaround.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.