Closed
Bug 1125401
Opened 9 years ago
Closed 9 years ago
Handle multipart images correctly by replacing ProgressTracker::IsLoading with checks of the correct progress flags
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: seth, Assigned: seth)
References
Details
Attachments
(1 file)
4.67 KB,
patch
|
tnikkel
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Right now ProgressTracker::IsLoading() checks FLAG_LOAD_COMPLETE, which was OK when we reset that flag for every part of a multipart image. Now that we don't, that's wrong. Different callers of IsLoading() need different things, so I think we should just rip it out and replace all callsites with checks for either FLAG_LOAD_COMPLETE or FLAG_LAST_PART_COMPLETE.
Updated•9 years ago
|
Attachment #8554016 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 2•9 years ago
|
||
Thanks for the review! Pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/9ad3baed1c70
Comment 3•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9ad3baed1c70
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8554016 [details] [diff] [review] Replace ProgressTracker::IsLoading() with checks of the correct progress flags Approval Request Comment [Feature/regressing bug #]: Bug 1112972 [User impact if declined]: MJPEG streams do not stop loading when the tab is closed, wasting user bandwidth and CPU time. [Describe test coverage new/current, TreeHerder]: On central. [Risks and why]: Low risk; behavior change is limited to MJPEG streams. [String/UUID change made/needed]: None.
Attachment #8554016 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
status-firefox37:
--- → affected
status-firefox38:
--- → fixed
Updated•9 years ago
|
Attachment #8554016 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 5•9 years ago
|
||
Seth, does this affect 36 too? thanks
status-firefox36:
--- → ?
Flags: needinfo?(seth)
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #5) > Seth, does this affect 36 too? thanks Nope, should only be on 37 and 38. Thanks for the quick approval!
Flags: needinfo?(seth)
Updated•9 years ago
|
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8554016 [details] [diff] [review] Replace ProgressTracker::IsLoading() with checks of the correct progress flags Approval Request Comment [Feature/regressing bug #]: Unknown. [User impact if declined]: MJPEG streams and webcams stutter and don't render correctly. [Describe test coverage new/current, TreeHerder]: Already in Firefox 38 and 37. [Risks and why]: Low. This is a small bug fix for bug 1112956, which actually fixes the issue. [String/UUID change made/needed]: None.
Attachment #8554016 -
Flags: approval-mozilla-beta?
Updated•9 years ago
|
Attachment #8554016 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in
before you can comment on or make changes to this bug.
Description
•