Closed Bug 294621 Opened 20 years ago Closed 20 years ago

infinite loop when appending an iframe to a tabpanel in an onload event

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 196057

People

(Reporter: ces.fci.junk, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

creating a tab/tabpanel then appending an iframe to the tabpanel causes an
infinite number of tabs to be created.  I am able to add the tab/iframe with an
onclick without any problems.

Reproducible: Always

Steps to Reproduce:
dupe of bug 196057?
Depends on: 196057
(In reply to comment #1)
> dupe of bug 196057?

this one is an infinite loop (in my testcase i put in a confirm box for an easy
abort).
sure, but in your testcase your onload handler appends an iframe, which gets an
onload event, which (because of bug 196057) bubbles up to the window and goes to
your onload handler, which appends an iframe, which gets an onload event...
(In reply to comment #3)
> sure, but in your testcase your onload handler appends an iframe, which gets an
> onload event, which (because of bug 196057) bubbles up to the window and goes to
> your onload handler, which appends an iframe, which gets an onload event...

oh! ok.


*** This bug has been marked as a duplicate of 196057 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: DOM: Core → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.