Closed Bug 2085317 Opened 27 days ago Closed 5 days ago

[wpt-sync] Sync PR 63978 - [Sanitizer] Add WPT coverage for all default safe MathML elements and attributes

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 63978 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63978
Details from upstream follow.

tannal <mtan@igalia.com> wrote:

[Sanitizer] Add WPT coverage for all default safe MathML elements and attributes

Add WPT for Sanitizer API covering all default safe MathML elements and
their allowed attributes.

Add end to end tests to ensure that clicking sanitized 'a' elements
(HTML, SVG, and MathML) cannot trigger unsafe navigations/executions.

Spec change in sanitizer api for MathML a element:
https://github.com/whatwg/html/pull/12592

Also update the default configuration in sanitizer-default-config.html

Bug: 510487697
Change-Id: I1fddafd008713c454a0cb3c0061e817d5f42d338
Reviewed-on: https://chromium-review.googlesource.com/8212842
WPT-Export-Revision: 6faa0f5e4332f03c1f2a6ed870907387a6ab0887

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 50 tests and 141 subtests

Status Summary

Firefox

OK : 5[GitHub] 50[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 249[GitHub] 2687[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 61[GitHub] 1117[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 5
PASS : 243
FAIL : 67

Safari

OK : 2
PASS : 42
FAIL : 46
ERROR : 3
NOTRUN: 222

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: