Closed
Bug 852413
Opened 11 years ago
Closed 11 years ago
test_image_layers.html doesn't wait for its secondary image's onload
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: joe, Assigned: joe)
References
Details
Attachments
(3 files, 1 obsolete file)
945 bytes,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
1.67 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
7.82 KB,
patch
|
Details | Diff | Splinter Review |
Matt and I talked a bit about this. This patch seems like it'll fix it; I'll run it through try some to see if it does.
Attachment #726497 -
Flags: review?(matt.woodrow)
Updated•11 years ago
|
Attachment #726497 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 1•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4a24d7b3126f
Target Milestone: --- → mozilla22
Assignee | ||
Comment 2•11 years ago
|
||
Still occasionally faily; perhaps this will help.
Attachment #726961 -
Flags: review?(matt.woodrow)
Comment 3•11 years ago
|
||
Comment on attachment 726961 [details] [diff] [review] wait for onload and paints to finish, then force another paint Review of attachment 726961 [details] [diff] [review]: ----------------------------------------------------------------- Using nsDOMWindowUtils::isMozAfterPaintPending would be better, but I guess this should work.
Attachment #726961 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 4•11 years ago
|
||
ooh, good idea
Attachment #726961 -
Attachment is obsolete: true
Attachment #726998 -
Flags: review?(matt.woodrow)
Comment 5•11 years ago
|
||
Comment on attachment 726998 [details] [diff] [review] wait for onload and paints to finish, then force another paint Review of attachment 726998 [details] [diff] [review]: ----------------------------------------------------------------- Lets hope this one works!
Attachment #726998 -
Flags: review?(matt.woodrow) → review+
Comment 6•11 years ago
|
||
This takes advantage of the fact that the reftest harness already has code to wait until all paints are flushed. It just adds an annotation to mark elements that shouldn't be painted between when the 'MozReftestInvalidate' callback is called, and the end of the test. Entirely undocumented and untested. :)
Assignee | ||
Comment 7•11 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/3ec52a8caf73
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4a24d7b3126f https://hg.mozilla.org/mozilla-central/rev/3ec52a8caf73
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•