Closed
Bug 1579088
Opened 6 years ago
Closed 6 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)
Core
DOM: Security
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 | ||
Updated•6 years ago
|
Assignee: nobody → echen
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
The description and expected result of some tests aren't matched.
Updated•6 years ago
|
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
Comment 4•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/bdbfce5477b8
https://hg.mozilla.org/mozilla-central/rev/48cbb73a01ad
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•