Closed
Bug 1731587
Opened 3 years ago
Closed 3 years ago
[sanitizer] implement comments handling, remove string api & adjust exceptions to match wpt
Categories
(Core :: DOM: Security, enhancement, P1)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
95 Branch
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: freddy, Assigned: freddy)
References
Details
(Whiteboard: [domsecurity-active], [wptsync upstream])
Attachments
(1 file)
No description provided.
Updated•3 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [domsecurity-active]
Assignee | ||
Updated•3 years ago
|
Summary: [sanitizer] implement comments & custom-element handling → [sanitizer] implement comments handling, remove string api & adjust exceptions to match wpt
Assignee | ||
Comment 1•3 years ago
|
||
This patch combines three relatively small changes:
- Removing string-based APIs
-- Adjusting the Sanitize() function, its WebIDl definition etc. to only
accept Document/DocumentFragment - Parse allowComments from the Sanitizer constructor and pass into the
underlying nsTreeSanitizer - Ensure that exceptions and error cases align with current wpt
Pushed by fbraun@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/891f007ad684
[sanitizer] Remove string-based APIs, handle HTML comments, align exceptions with wpt r=hsivonen
Comment 3•3 years ago
|
||
Backed out changeset 891f007ad684 (Bug 1731587) for causing mochitest plain failures in mochitest/test_sanitizer_api.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/b1d30f0415a442a17cd96f891530ce78f325377f
Push with failures, failure log.
Flags: needinfo?(fbraun)
Pushed by fbraun@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0b2dfad8e6c5
[sanitizer] Remove string-based APIs, handle HTML comments, align exceptions with wpt r=hsivonen
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/31088 for changes under testing/web-platform/tests
Whiteboard: [domsecurity-active] → [domsecurity-active], [wptsync upstream]
Upstream PR merged by moz-wptsync-bot
Comment 7•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox95:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Assignee | ||
Updated•3 years ago
|
Flags: needinfo?(fbraun)
You need to log in
before you can comment on or make changes to this bug.
Description
•