Closed Bug 1954437 Opened 10 months ago Closed 3 months ago

Enable the Sanitizer API by default in Nightly

Categories

(Core :: DOM: Security, task)

task

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: tschuster, Assigned: tschuster)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

The Sanitizer API is now feature complete, but there are still outstanding spec issues that need to be resolved before shipping. If we enable it by default in Nightly, it would also show up on https://wpt.fyi/results/sanitizer-api.

Once this lands, it should be documented at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features.

Sebastian

Keywords: dev-doc-needed
Assignee: nobody → tschuster
Blocks: sanitizer-api
No longer blocks: 1945761
Depends on: 1989215
Depends on: 1991098
No longer depends on: 1991098
Depends on: 1991682
Depends on: 1992953
Depends on: 1994959
Attachment #9520776 - Attachment description: WIP: Bug 1954437 - Enable the Sanitizer API by default in Nightly. → Bug 1954437 - Enable the Sanitizer API by default in Nightly. r?smaug
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch

This request is for Nightly-only.

Release Note Request (optional, but appreciated)
[Why is this notable]: A new web API.
[Affects Firefox for Android]: yes
[Suggested wording]: The Sanitizer API provides new methods for HTML manipulation. element.setHTML() allows inserting HTML like element.innerHTML but without the security risks (like XSS). There is also a corresponding document.parseHTML() method.
[Links (documentation, blog post, etc)]: https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML

relnote-firefox: --- → ?

Added to the Nightly release notes for 146 where it will stay for 3 cycles or until the feature dom.security.sanitizer.enabled is enabled on all channels.

QA Whiteboard: [qa-triage-done-c147/b146]

FF146 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/41649

This was mostly update to docs to address the MDN bug setHTML() - non-normalized SanitizerConfig explanation is incomplete #41634. @Tom, you are pinged on that.

Removed from the Nightly release notes.
This has been included for 3 cycles now. Feel free to nominate again once the feature is enabled for Release.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: