ISSUE 2: Should `globalThis` be required to extend from `EventTarget`?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- api
Research direction
Start with the linked proposal issue and review the seven existing comments for the current discussion. Determine the intended relationship between globalThis and EventTarget, including event-listener methods and lifecycle events such as install, activate, and fetch; the issue is done only when that behavior is resolved and specified.
Written by the indexing model from the issue text.
Description
I think globalThis SHOULD extend from EventTarget. Or at lease there will be one EventTarget instance, and globalThis should mount that instance's *EventListener(), dispatchEvent().
And also, I think the lifetime and events (install, activate, fetch, etc.) also should be embodied.
- Dominant language
- Bikeshed
- Stars
- 308
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from WinterTC55/proposal-minimum-common-api
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
WinterTC55/proposal-minimum-common-api#117 · 4 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
WinterTC55/proposal-minimum-common-api#107 · 4 reactions ·
-
2026 edition roadmap Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
WinterTC55/proposal-minimum-common-api#106 · 2 reactions ·
-
Serialization? Open
Difficulty 5/5 Over a week Newbie friendliness 18/100
WinterTC55/proposal-minimum-common-api#99 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in WinterTC55/proposal-minimum-common-api
Similar issues
-
area/sessions comp/agent P2 tool/skills type/perf
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NousResearch/hermes-agent#117788 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·