Open
Bug 1218954
Opened 10 years ago
Updated 3 years ago
XUL <treecell> doesn't load image synchronously (making it impossible to use reliably in reftests)
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Core
Layout: Images, Video, and HTML Frames
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | affected |
People
(Reporter: dholbert, Unassigned)
References
Details
Attachments
(2 files)
|
2.38 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.82 KB,
patch
|
Details | Diff | Splinter Review |
As noted in bug 1218041 comment 11, a XUL <treecell> apparently doesn't decode its image synchronously, which makes it hard to use them in reftests.
Seth says in IRC he thought bug 1209765 should have fixed this, but apparently it did not.
Reftest patch coming up, to demonstrate the problem.
| Reporter | ||
Comment 1•10 years ago
|
||
STR:
1. Apply the attached patch.
2. Run the following command:
./mach reftest layout/reftests/xul/reftest-bug1218954.list
ACTUAL RESULTS: Test failure. (The tests look like their "notref" file, indicating that the image didn't render in time.)
| Reporter | ||
Comment 2•10 years ago
|
||
Here's a second patch (which layers on top of the first) to add a 1-second setTimeout to each test. This "fixes" the tests, making them pass. (The image renders, and they look different from the "notref", and hence pass.)
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
Product: Core Graveyard → Core
Comment 3•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: seth.bugzilla → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•