Closed Bug 1148640 Opened 10 years ago Closed 10 years ago

Bail if OnStartRequest is delivered more than once to imgCacheValidator

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed
firefox-esr38 --- fixed

People

(Reporter: seth, Assigned: seth)

References

Details

Attachments

(1 file)

Right now I'm concerned that Necko is delivering OnStartRequest more than once, which is causing strange behavior in ImageLib. I've filed bug 1136969 about trying to detect it in Necko, but I think we should have a check in imgCacheValidator as well.
See Also: → 1136969
Here's the patch. This should help us detect this issue if it happens on our CI infrastructure.
Attachment #8584838 - Flags: review?(tnikkel)
Attachment #8584838 - Flags: review?(tnikkel) → review+
Thanks for the quick review! Here's a try push to make sure we don't already hit this (Linux and B2G only; hopefully that's a representative sample): https://treeherder.mozilla.org/#/jobs?repo=try&revision=239304b45ac3
Try looks good. (Or at least, it doesn't seem to contain any failures triggered by this patch.) Pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/641902d237af
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Comment on attachment 8584838 [details] [diff] [review] Bail if OnStartRequest is delivered more than once to imgCacheValidator [Approval Request Comment] If this is not a sec:{high,crit} bug, please state case for ESR consideration: See bug 1068652 for discussion. User impact if declined: Again, see bug 1068652. Fix Landed on Version: 39. Risk to taking this patch (and alternatives if risky): Quite low risk. This patch is quite simple and has been in the codebase for two months without an issue. String or UUID changes made by this patch: None. See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #8584838 - Flags: approval-mozilla-esr38?
Comment on attachment 8584838 [details] [diff] [review] Bail if OnStartRequest is delivered more than once to imgCacheValidator Stability improvement and low risk, taking it.
Attachment #8584838 - Flags: approval-mozilla-esr38? → approval-mozilla-esr38+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: