ampproject / ampproject/amphtml

Change window.context API to avoid problematic terms

Open
#30,789 18 comments 0 reactions 0 assignees View on GitHub
Component: AMPHTML ads good first issue Type: Bug WG: monetization
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

We will still need to maintain backwards compatibility, so will likely alias to the new name.

to/ @ampproject/wg-monetization

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementation and uses of the window.context API in the AMP codebase. The issue does not specify the replacement name or affected tests, so clarify the terminology and compatibility requirements first; done should include the new API name while preserving the existing name as an alias.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Refactor
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.