Closed
Bug 228594
Opened 21 years ago
Closed 19 years ago
iframe's should not be allowed to load any parent document, as a child iframe
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: scunliffe, Unassigned)
References
Details
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 If you have a file, called fileAAA.html, which has an iframe, called fileBBB.html, which... either (i or ii) i) contains an iframe, sourcing fileAAA.html or ii) contains a subframe, sourcing any "parent" document You get an endless/ redundant loop. (This is of course bad web programming, but...) Reproducible: Always Steps to Reproduce: 1. create fileAAA.html with an iframe tag, calling 2. (create) fileBBB.html with an iframe tag, calling 3. (create) fileCCC.html with an iframe tag, calling 4. fileAAA.html Actual Results: Nesting, nesting, nesting... Expected Results: Mozilla should check, when loading an iframe, that the source, does not either this' source, or any *parent source* of this. *parent source* would be any file, that contains and iframe, sourcing 'this' It didn't crash on my Win2K box, but I'm guessing that a Win95/98 box might not be so smart. I'm not sure whether the nesting ever stopped or not, and if so, by Mozilla or Windows. All I know is that my Task Meter peaked, then dropped off after a second or two.
Load this file... which loads fileBBB.html, which loads fileCCC.html, which re-loads fileAAA.html, which loads..., ..., ..., ...
Attachment #137474 -
Attachment description: fileAAA.html (Load this First) → fileAAA.html (Load this First)
[[Save all three files and load separately, outside of Bugzilla]]
Comment 4•21 years ago
|
||
Related: Bug 136580
LInux 2003122707 loads each doc three times. You might try a newer build. I did find a newer bug bug 228829 which looks to stop more creative uses for frames.
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 6•19 years ago
|
||
Fixed by patch for bug 228829
You need to log in
before you can comment on or make changes to this bug.
Description
•