Open Bug 1548293 Opened 6 years ago Updated 3 years ago

[wpt-sync] Sync PR 16357 - Fix "relevant mutations" tests for <img> crossorigin attribute

Categories

(Testing :: web-platform-tests, defect, P4)

defect

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

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

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

Michael Smith <michael@spinda.net> wrote:

Fix "relevant mutations" tests for <img> crossorigin attribute

These test cases are supposed to verify that changing an <img> tag's crossorigin attribute state causes the image resource to be reloaded (as per "4.8.4.3.2 Reacting to DOM mutations" in the HTML spec). However, they were set to expect a 'timeout', which doesn't make any sense: the expected result should be a 'load'. They were passing regardless of implementation correctness because the corresponding <img> tags were missing src attributes, which prevented load events from being generated.

See also: https://github.com/whatwg/html/issues/4533

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.