web-platform-tests / web-platform-tests/interop

Sanitizer API: HTML (streaming) setter methods

Open
#1,416 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

focus-area-proposal
Dominant language
JavaScript
Stars
524
Forks
35
Avg merge
1d 4h
Merged PRs (30d)
10

Description

Description

This is an extension of the proposal in #1336 to cover the new HTML setters and streaming setter methods, and the integration with trusted types.

The Sanitizer API is providing a new method to modify HTML without causing XSS, which is one of the most prevalent security vulnerabilities in the world. In order for developers to be able to depend on these features it's necessary for them to be reliable cross-browser.

Note that, although this feature is an unmerged PR at the time of writing, we are confident it will be merged in plenty of time for Interop.

Specification

https://github.com/whatwg/html/pull/12753

web-feature

html-setters, html-streaming-setters

Test Links
Additional Signals

No response

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 with the WHATWG HTML pull request 12753, then inspect the sanitizer-api and domparsing results linked from the issue, including tentative tests and trusted-types coverage. Identify the missing HTML setter and streaming setter cases, and finish when the relevant Web Platform Tests cover the specified behavior and are no longer blocked by the referenced spec changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.