Closed Bug 1940979 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 50025 - Never include unsupported event attributes into attributeNamesWithInt…

Categories

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

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Frédéric Wang <fwang@igalia.com> wrote:

Never include unsupported event attributes into attributeNamesWithInt…

…erfaceName

This is a small refactoring of https://github.com/web-platform-tests/wpt/pull/49473

Instead of skipping unsupported attributes in the for loop, we filter them out when building the list.

Technically, interfaceName is no longer used in the for loop, but we keep it in case that's needed for future setAttribute/setAttributeNS tests.

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Blocks: 1939805
Attached file Notable wpt changes
# CI Results Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 2 tests and 504 subtests ## Status Summary ### Firefox `OK` : 1[GitHub] 2[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] `PASS` : 90 `FAIL` : 91[GitHub] 499[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] `ERROR`: 1 ### Chrome `OK` : 2 `PASS` : 92 `FAIL` : 504 ### Safari `OK` : 1 `FAIL` : 87 `ERROR`: 1 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=3bdf5512e737b053617d7511c41e5d099dd6775b) [GitHub PR Head](https://wpt.fyi/results/?sha=4c5a05c079a8bed11ecf53a9ec1e1856725244f6&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=4c5a05c079a8bed11ecf53a9ec1e1856725244f6&label=pr_base) ## Details (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/19bde4860d61 [wpt PR 50025] - Add tests for setAttribute/setAttributeNS and content event handler attributes, a=testonly https://hg.mozilla.org/integration/autoland/rev/956a2010187c [wpt PR 50025] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: