Closed Bug 43191 Opened 24 years ago Closed 23 years ago

frameset targets not selecting from cached frame

Categories

(SeaMonkey :: General, defect, P3)

x86
Other

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: wvaughan, Assigned: asa)

References

()

Details

Attachments

(2 files)

Targeted anchors seem to be causing a refresh of frame.
From this example frameset, select the default search (Lookup Rubber Parts).
You then should be able to get to the shopping cart anchors by hitting the
shopping cart icon, instead it performs a new search inside the frame, losing
the parameters of the original search.

The behavior of this website works as expected on NS 3 -> 4.73 (current)
and Internet Exploder.
See nsDocShell::ScrollIfAnchor
reporter: can we get a more detailed description of how to reproduce this bug
and if it is still present on current nightly builds?  Thanks
Just downloaded last night's build [2000072520].
Same problem.
http://166.82.96.9/xframes.html
Click on "Lookup Rubber Parts"
When page builds, click on "Shopping Cart" icon at top.
The targeted frameset should just move the focus to the indicated
anchor and not reload frameset from the server.
Voice at 800-544-8665 x270 8-12,1-5 EST.
or IM'ed at WDVAUGHAN
confirmed with 072808 m18 m,ozilla bits on NT
Status: UNCONFIRMED → NEW
Ever confirmed: true
CC'ing gagan - is this a known issue with the cache?  (Same url with a
#namedanchor added to the end won't hit in the cache.)  

This is a form submit-related bug that prevents the site from being usable at
some core level, but the same function can be achieved by scrolling down to the
bottom of the page.  Thus, I'm not marking this nsbeta3, but Future.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
netwerk/protocol/http/src/nsHTTPChannel.cpp::CheckCache()  ?

This routine passes in the URI as a key to the cache.  It says something about
needing to add the post data as part of the key in this routine.  Could we also
add something about removing any #namedanchors from the URI before sending off
the key?

Would this change need to be made in other places too?  As a general hunch, I'm
marking this Networking:Cache, but I could be wrong.  I won't reassign until I
can verify that this is actually the problem...
Component: HTMLFrames → Networking: Cache
Should resolve this by 1.0
Target Milestone: Future → mozilla1.0
Darin, here's a bug that mentions using the anchor tag in HTTP's cache key.  It
was with the old cache, but I think it still applies to HTTP's use of the new
cache as well.  You might want to take this, or at least talk to Eric about it.

Changing component, but I'll let Darin and Eric decide who it should be assigned
to.
Component: Networking: Cache → Networking: HTTP
:) Never got around to verifying - but I strongly suspect this is a cache
change.  Handing to the guru.  :)
Assignee: pollmann → darin
Status: ASSIGNED → NEW
right, the problem is that we don't trim the '#ref' from the URL before using
the URL as a key into the cache.  this means that changing the #ref prevents
causes the cached copy to be skipped *always*.  i think this is critical for
mozilla 0.9.
Severity: normal → major
Status: NEW → ASSIGNED
Keywords: nsbeta1
Target Milestone: mozilla1.0 → mozilla0.9
Keywords: patch
r=gagan
Not that it really matters *that* much, but, you should pull mRequest->Spec()
into a temporary instead of invoking the method over and over. (Most compilers
won't optimize away the function call.)

Take it or leave it. sr=waterson
waterson: turns out nsHTTPRequest::Spec() is an inline method, so the code in
question just amounts to mRequest->mSpec.get()
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Same problem.
http://166.82.96.9/xframes.html
Click on "Lookup Rubber Parts"
When page builds, click on "Shopping Cart" icon at top.
The targeted frameset should just move the focus to the indicated
anchor and not reload frameset from the server.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
i don't see it reloading the frameset... instead i see it reloading the 
shopping cart frame only... this happens because for that frame, there
is no expiration information given by the server.  so, it seems to work
for me... linux build 2001-04-18.
reassigning to browser-general:  i don't know who should get this now.  the
cache/networking should not even be involved.  the problem is with a page
that results from a form POST.  there are links on the page pointing back to
the page with additional #ref's.  these should just cause layout to scroll...
there should not be a network request.
Assignee: darin → asa
Status: REOPENED → NEW
Component: Networking: HTTP → Browser-General
QA Contact: petersen → doronr
Target Milestone: mozilla0.9 → ---
Well, magically the problem has gone away at least with build 2001060703 on
Win32 and Linux. Someone fixed something in the last month since I downloaded a
nightly build that solved this issue. The question is will it stay fixed since
this bug was not updated by anyone since it was tossed back on the pile to be
worked on?
WORKSFORME linux 6/7/2001
Status: NEW → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: