servo / servo/servo

Not registering a WebIDL interface causes associated enums to be skipped

Open
#2,280 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-content/bindings
Dominant language
Rust
Stars
38k
Forks
3.8k
Avg merge
1d 8h
Merged PRs (30d)
459

Description

Marking TestBinding as register: no (which is what we want so as not to expose it to the web) yields a compile error since TestEnum can't be found.

Contributor guide

Open the contributing guide

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 locating the WebIDL definitions for TestBinding and TestEnum and the registration handling that produces the compile error. Reproduce the failure with TestBinding marked register: no; done means the associated enum remains available to compile while TestBinding is not exposed to the web.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.