Closed Bug 309097 Opened 19 years ago Closed 19 years ago

Pages don't load in frames, if referrer == frame-source

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WONTFIX

People

(Reporter: tombraun, Unassigned)

References

()

Details

(Keywords: testcase)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

Some dynamic applications generate frames, and then specify frame sources that
have the same URL as the frameset page.  Thus, the referrer and the frame source
have the same URL.

In previous version of Firefox, this displays fine (possibly with a hard-coded
stop after a few recursion levels).  In F1.5 this does not work at all anymore,
and thus breaks those certain applications.

Note that one cannot say that 'this should not happen anyway', since in some of
those dynamically generated pages, the content that is returned by a page the
second time it is loaded, or if it is framed, may be very different than the
first time around.

Whatever was implemented in previous versions of Firefox worked, so it would be
great if this could be enabled again in F1.5, please.

Thank you very much!

Tom


Reproducible: Always

Steps to Reproduce:
Make a frameset page, called 'example.html':

<frameset rows="50%,50%">
    <frame src="something_else.html" name="frameA">
    <frame src="example.html" name="frameB">
</frameset>

Note that frameB has this same 'example.html' file as source again.
Now load this page into the F1.5 browser.

Actual Results:  
The frameB panel stays completely empty.  This should not be (compare with what
previous versions of Firefox are doing).


Expected Results:  
The same that previous versions of Firefox did.

I ranked this 'major', since it breaks applications!
Could you attach a testcase or show an example somewhere?
(In reply to comment #1)
> Could you attach a testcase or show an example somewhere?

Well, that's what I did in the 'how to reproduce' section:  Take the HTML
snippet there, and save it into a file called 'example.html'.  Load that into
the browser.  You will see that the top frame will load the
'something_else.html' file (if you have made one), but the bottom frame does not
load anything.

Tom
Like this?
http://wargers.org/mozilla/test/example.html
I can see the change in behavior, but IE6 is doing the same as current trunk
builds, not?
Component: General → Layout: HTML Frames
Keywords: testcase
Product: Firefox → Core
Version: unspecified → Trunk
QA Contact: general → layout.html-frames
What existed in previous builds didn't actually "work" -- it led to several easily exploitable hangs and crashes, which were fixed by implementing the current, IE-compatible, behavior.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.