Closed Bug 306862 Opened 19 years ago Closed 19 years ago

session history should flush content viewers on memory-pressure notification

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bryner, Assigned: bryner)

References

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

When the memory-pressure notification is sent through the observer service, 
session history should evict all cached content viewers to free up memory.
Flags: blocking1.8b5?
Will eval for 1.8b5 once we see the level of risk for the patch.
Bryner - are you working on this for b2?
I believe bryner is working on bug 292965 right now. When that's fixed, we
should get him to tell us more about this bug.
Please renominate if a patch appears for this, but the lack of visible action
makes this a non-blocker for now.
Flags: blocking1.8b5? → blocking1.8b5-
Flags: blocking1.8.1?
Bryner - will we have any chance for this in 1.8.1?
Flags: blocking1.8.1? → blocking1.8.1+
Sure, this should be really easy
Attachment #226538 - Flags: review?(marria)
Comment on attachment 226538 [details] [diff] [review]
patch (against MOZILLA_1_8_BRANCH)

weird, when i view this attachment as diff it says the file is at mozilla/xpfe/cxpfe/components/shistory/src/nsSHistory.cpp
Attachment #226538 - Flags: review?(marria) → review+
(In reply to comment #8)
> (From update of attachment 226538 [details] [diff] [review] [edit])
> weird, when i view this attachment as diff it says the file is at
> mozilla/xpfe/cxpfe/components/shistory/src/nsSHistory.cpp 
> 

Weird!  I'll file a bug on bugzilla about that.
It's probably https://bugzilla.mozilla.org/show_bug.cgi?id=303683
checked on on trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Attachment #226538 - Flags: approval1.8.1?
Bryner thanks for a getting a patch together for this.  Does there need to be a corresponding removeObserver call or does this get cleaned up automatically at shutdown?
(In reply to comment #12)
> Bryner thanks for a getting a patch together for this.  Does there need to be a
> corresponding removeObserver call or does this get cleaned up automatically at
> shutdown?
> 

This gets cleaned up automatically when the observer service shuts down.
Comment on attachment 226538 [details] [diff] [review]
patch (against MOZILLA_1_8_BRANCH)

a=darin on behalf of drivers
Attachment #226538 - Flags: approval1.8.1? → approval1.8.1+
fixed on branch
Keywords: fixed1.8.1
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: