ampproject / ampproject/worker-dom

Feature request: Support for Document.createTreeWalker

Open
#1,086 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.3k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

I want to create dom tree walker inside my worker script but it's not supported yet. Any plans to support it in near future?

Contributor guide

Open the contributing guide

Research direction

Start by locating the worker script's Document API implementation and checking how Document.createTreeWalker is currently handled. Confirm the expected worker-side behavior and identify the relevant tests before defining what support would mean; done should be demonstrated by passing coverage for creating and using a tree walker.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.