gost-dom / gost-dom/browser

Consider: support browser-specific behaviour

Open
#191 0 comments 1 reaction 0 assignees View on GitHub
someday
Dominant language
Go
Stars
300
Forks
15
PR merge metrics
No merged PRs in 30d

Description

We _might_ consider supporting browser-specific event-target behaviour.

- Safari
- `passive` defaults to true for wheel, mousewheel touchstart, tourchmove events
- Firefox (gecko)
- receives an extra boolean argument, `wantsUntrusted`
- https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#wantsuntrusted

Contributor guide

Open the contributing guide

Research direction

No repository file or test is named. Start by locating the EventTarget/addEventListener implementation and related tests, then compare the stated Safari passive defaults and Firefox wantsUntrusted argument with current behavior. Done requires a clarified scope and tests covering the supported browser-specific behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.