Closed
Bug 121730
Opened 23 years ago
Closed 20 years ago
Add number of entries actually removed from sHistory when using PurgeHistory()
Categories
(Core Graveyard :: Embedding: APIs, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: depman1, Assigned: timeless)
References
()
Details
Attachments
(1 file)
1.67 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
currently, PurgeHistory() takes a request for number of entries to be removed from session history. But if the notification is set to false for the purge history listener, there is nothing passed back to PurgeHistory() to indicate that no entries were removed. The user only gets a message that x number of entries were requested for removal. To see this: 1) Set notification to PR_FALSE in nsISHistoryListener::OnHistoryPurge(). In TestEmbed, it's in BrowserImplHistoryLstnr.cpp. 2) Compile and Run TestEmbed from bin directory. 3) From Test menu, add the history listener. 4) Enter a couple of urls. 5) From Interfaces > nsISHistory menu, select Purge History. Result: It will indicate 3 entries requested for removal from session history (both from the history lstnr and PurgeHistory() methods). Expected: Indicate that 0 entries were removed. A return variable would need to be passed back to PurgeHistory(). So if the notification flag is TRUE, then it would indicate 3 were removed.
Updated•23 years ago
|
QA Contact: mdunn → depstein
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Reporter | ||
Updated•22 years ago
|
QA Contact: depstein → carosendahl
Reporter | ||
Comment 1•20 years ago
|
||
This bug needs to be reassigned.
Attachment #154959 -
Flags: superreview?(bzbarsky)
Attachment #154959 -
Flags: review?(bzbarsky)
Comment 3•20 years ago
|
||
Comment on attachment 154959 [details] [diff] [review] provide indication that purgehistory was vetod Sure, this is reasonable. r+sr=bzbarsky.
Attachment #154959 -
Flags: superreview?(bzbarsky)
Attachment #154959 -
Flags: superreview+
Attachment #154959 -
Flags: review?(bzbarsky)
Attachment #154959 -
Flags: review+
mozilla/xpfe/components/shistory/public/nsISHistory.idl 1.14 mozilla/xpfe/components/shistory/src/nsSHistory.cpp 1.65
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•