Closed Bug 1519902 Opened 5 years ago Closed 5 years ago

Port Bug 1202085 "Part 2: Add an optional document argument to imgICache::FindEntryProperties()" to SeaMonkey

Categories

(SeaMonkey :: General, enhancement)

SeaMonkey 2.42 Branch
enhancement
Not set
normal

Tracking

(seamonkey2.49esr fixed, seamonkey2.63 fixed, seamonkey2.53 fixed, seamonkey2.57esr fixed)

RESOLVED FIXED
SeaMonkey2.63
Tracking Status
seamonkey2.49esr --- fixed
seamonkey2.63 --- fixed
seamonkey2.53 --- fixed
seamonkey2.57esr --- fixed

People

(Reporter: frg, Assigned: frg)

Details

Attachments

(1 file)

In order to get the right entry in imgICache::FindEntryProperties() the current document should be provided.

See Bug 1202085 part 4:
Part 4: Add an ID for controlled document to the image cache key

This ID will be null for non-controlled documents and also for image cache
entries for which a document is not available, and it will be the numerical
value of the document pointer for controlled documents.

This effectively makes sure that a controlled document doesn't share its
image cache entries with anything else.

Simple fix. Not 100% sure what the implications currently are with it not done but probably only performance related.

Attachment #9036367 - Flags: review?(iann_bugzilla)
Attachment #9036367 - Flags: approval-comm-esr60?
Attachment #9036367 - Flags: approval-comm-esr52?

Comment on attachment 9036367 [details] [diff] [review]
1519902-imagecache.patch

r/a=me it was interesting reading the comment https://bugzilla.mozilla.org/show_bug.cgi?id=1202085#c44 about
https://hg.mozilla.org/mozilla-central/rev/9c5e6d68cc46 may be worth keeping in mind.

Attachment #9036367 - Flags: review?(iann_bugzilla)
Attachment #9036367 - Flags: review+
Attachment #9036367 - Flags: approval-comm-esr60?
Attachment #9036367 - Flags: approval-comm-esr60+
Attachment #9036367 - Flags: approval-comm-esr52?
Attachment #9036367 - Flags: approval-comm-esr52+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/54b1c3f11dee
Use current document for imageCache.findEntryProperties(). r=IanN

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

https://hg.mozilla.org/releases/comm-esr60/rev/3687e78118a24c5c28c0cc4456c5b30ca0629d35

Target 2.49.5 after build 1
https://hg.mozilla.org/releases/comm-esr52/rev/659c9551e19da6a7a719e656ea8d899f53152ea7

may be worth keeping in mind.
I read the comment. I suspect this would need a revised function not a backout. Not sure.

Target Milestone: --- → SeaMonkey2.63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: