[wpt-sync] Sync PR 56253 - [Sanitizer] Update the built-in to handle per-element attributes.
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox147 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 56253 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/56253
Details from upstream follow.
Daniel Vogelheim <vogelheim@chromium.org> wrote:
[Sanitizer] Update the built-in to handle per-element attributes.
This adds support for per-element allow/remove attribute to the generated builtins. Previously, we'd just copy the per-element
allow-list to the global allow-list. We now extend the generator
script to faithfully generate the builtins.Also add a WPT test that specifically tests for defaults with
per-element attributes.This is CL 4/7, which together implement the Sanitizer API:
1: crrev.com/c/7096258 - Update the built-in baseline.
2: crrev.com/c/7100560 - Update the built-in default.
3: crrev.com/c/7105682 - Update the configuration's data model.
4: crrev.com/c/7132699 - Update the built-in to handle per-element attributes.
5: crrev.com/c/7106779 - Update the core sanitization algorithm.
6: crrev.com/c/7105823 - Update the configuration modifier methods.
7: crrev.com/c/7106101 - Update flag status and remove virtual test suite.Bug: 40138584
Change-Id: I5d4ec4e156c6df899fabf540fd5b276477fbe858
Reviewed-on: https://chromium-review.googlesource.com/7132699
WPT-Export-Revision: 9c66b17772a548c0499a0f11960943b1bb3ecde3
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 162 subtests
Status Summary
Firefox
OK : 1
PASS : 162
Chrome
FAIL : 16
ERROR: 1
Safari
PASS : 6
FAIL : 10
ERROR: 1
Links
Comment 4•11 months ago
|
||
| bugherder | ||
Description
•