jsdom / jsdom/webidl2js

Factor out IDL-to-ECMAScript type conversion

Open
#71 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
97
Forks
35
Avg merge
2d 1h
Merged PRs (30d)
4

Description

We currently have an incomplete version of the actual algorithms:

https://github.com/jsdom/webidl2js/blob/bf9954ddc186e4d733957aba0bdcde35366fb548/lib/constructs/operation.js#L88-L98

Would be nice to factor it out, for e.g. callback function support.

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 reading the linked section of lib/constructs/operation.js, especially lines 88-98, and trace how the existing IDL-to-ECMAScript conversion is used. Done means the conversion logic is factored out of that location and can support callback functions without changing the intended conversion behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.