Closed Bug 427860 Opened 17 years ago Closed 15 years ago

crash with iframe onload command if website stalls while loading

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: lindensoftware, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 This has been confirmed by dozens of members of my website, all using Firefox, only started happening recently (after latest update I beleive), happens often. My website contains an iframe, with an advertisement displayed in it. I use the onload event to track how long it's taking the ads to load. Sites that hang crash the browser. After removing the onload from the iframe tag all problems go away. By hang I mean sites that have a high ping/latency and or have lots of content to load. Reproducible: Sometimes Steps to Reproduce: 1. Add onload="itloaded();" to iframe 2. Try to load the page with a hanging site in the iframe Actual Results: crash Expected Results: wait till page loads to run function itloaded()
Could you attach a testcase with the Add an attachment link on this page?
Sorry but I'm not sure what a "testcase" would be.
Attached file Simple test
Tim, does this problem still exist? If so, would you try to load the attached test in your browser? (I couldn't come up with any other site that hangs - feel free to replace it with one of those you're using on your site if this makes a difference.)
Whiteboard: [needs confirmation that testcase matches original issue]
WFM using mozilla-central Firefox on Mac. I get "The connection has timed out" in the iframe, and no onload or onerror alerts. Bjarne, is that what you saw?
Whiteboard: [needs confirmation that testcase matches original issue] → [needs retesting - Bjarne or Tim]
Yes, this is also what I see on Linux.
I see no issue, as there is no hanging site int he iframe :)
WFM -- we can't reproduce using Bjarne's guess-at-testcase, and Tim hasn't responded.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Whiteboard: [needs retesting - Bjarne or Tim]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: