Closed Bug 1579088 Opened 2 years ago Closed 2 years ago

Do not use img.complete to check whether the image is loaded in test_strict_dynamic_default_src.html

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: edgar, Assigned: edgar)

References

Details

(Whiteboard: [domsecurity-active])

Attachments

(2 files)

It is still not clear what img.complete should return in various cases, see https://github.com/whatwg/html/issues/488. Using it to check whether a image is loaded seems not a reliable way. Maybe we should use the load event.

Assignee: nobody → echen

The description and expected result of some tests aren't matched.

Blocks: 1578448
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [domsecurity-active]
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bdbfce5477b8
Do not use img.complete check whether the img is loaded; r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/48cbb73a01ad
Correct the expecting result for img in test_strict_dynamic_default_src.html; r=ckerschb
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.