[wpt-sync] Sync PR 58950 - streamHTML with an invalid Sanitizer config should throw.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
83.78 KB,
text/plain
|
Details |
Sync web-platform-tests PR 58950 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58950
Details from upstream follow.
Daniel Vogelheim <vogelheim@chromium.org> wrote:
streamHTML with an invalid Sanitizer config should throw.
The current code might swallow an exception thrown from the Sanitizer
constructor, which leads to streaming being unsanitized. Instead,
thestreamHTMLcall (& friends) should pass on the exception.Fixed: 497655906
Change-Id: I6ad8a2ae7bcc5611c536c1a74f6f036926431712
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7725441
Reviewed-by: Noam Rosenthal \<nrosenthal@google.com>
Commit-Queue: Daniel Vogelheim \<vogelheim@chromium.org>
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1609225}
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
| Assignee | ||
Comment 2•3 months ago
|
||
Description
•