Closed
Bug 103050
Opened 24 years ago
Closed 24 years ago
last index value is passed to nsISHistoryListener::OnHistoryGotoIndex()
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: depman1, Assigned: radha)
References
()
Details
Attachments
(1 file)
|
624 bytes,
patch
|
chak
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
related to bug 92664. Tested against mozilla 0.9.4+ Gecko 20011001.
0. In source code, change index in nsIWebNav.cpp: CNsIWebNav::GoToIndexTest() as
appropriate. Currently, it's set to 0.
1. Compile and Launch testembed:
cd /mozilla/embedding/qa/testembed
nmake -f makefile.win
cd /mozilla/dist/WIN_32D.OBJ/bin
testembed
2. Enter in 2+ urls. Make sure you load a total number of urls which exceeds the
index by at least 2. i.e. if the index = 2, enter 4 urls.
3. From Tests menu, select "Add History Listener".
4. From Interfaces menu, select "nsIWebNav"
5. Navigate through tests, until you perform the GoToIndex() test.
Result: OnHistoryGotoIndex() is called, but index value = 3 (the last index
value, since the index starts at 0)
Expected: The index value passed to the listener method = 2 (the true set index).
| Reporter | ||
Comment 1•24 years ago
|
||
changed qa contact to depstein, assigned to radha.
Assignee: adamlock → radha
QA Contact: mdunn → depstein
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.7
| Assignee | ||
Comment 2•24 years ago
|
||
David, as we discussed last week, i don't believe that this is a bug. if you
agree, please close this out. Thanks,
| Reporter | ||
Comment 3•24 years ago
|
||
this is a different bug: passes to the history listener the last uri index value
instead of the index valued called through goToIndex().
| Assignee | ||
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
Comment on attachment 57294 [details] [diff] [review]
patch to nsSHistory.cpp
r=chak
Attachment #57294 -
Flags: review+
Comment 6•24 years ago
|
||
Comment on attachment 57294 [details] [diff] [review]
patch to nsSHistory.cpp
sr=alecf
Attachment #57294 -
Flags: superreview+
| Assignee | ||
Comment 7•24 years ago
|
||
fix checked in
| Assignee | ||
Comment 8•24 years ago
|
||
Actually marking fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 9•24 years ago
|
||
fixed. verified in 11/28 mozilla debug build. correct index value is passed to
callback.
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•