Closed Bug 1950601 Opened 1 year ago Closed 1 year ago

Improve trusted-types/trusted-types-event-handlers.html

Categories

(Core :: DOM: Security, task)

task

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: fwang, Assigned: fwang)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/fa11d06fd84c487cb0a135c08af796daa6a56e44/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini enables dom.event.dragexit.enabled and some tests fail on non-Android platforms. This test is similar to set-event-handlers-content-attributes.tentative.html (probably even a subtest) so probably there is a way to avoid this kind of issues like doing a check like isAttributeImplemented.

It seems the ini file is not necessary anymore. I cannot reproduce the issue locally (the failing tests are not run) or on try:

https://treeherder.mozilla.org/jobs?repo=try&revision=6e2adb36d555aa47c096d61563ee68b3e669da79

I'm not sure what changed, though.

The test only handles attributes that belong to the div's protototype.
If a platform does not support these attributes, corresponding tests
are not executed can so cannot fail.

Assignee: nobody → fwang
Status: NEW → ASSIGNED
Pushed by fwang@igalia.com: https://hg.mozilla.org/integration/autoland/rev/66fe8199bef4 Remove trusted-types/trusted-types-event-handlers.ini. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: