Closed Bug 301207 Opened 19 years ago Closed 17 years ago

hang on javascript refresh of xsl page if internet connection is dropped

Categories

(Core :: XSLT, defect)

x86
All
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: will_lentz, Assigned: peterv)

Details

(Keywords: hang)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050525 Firefox/1.0+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050702

I'll attach an example which reproduces the problem.
test1.xml/xsl doesn't seem to hang my browser.
test2.xml/xsl hangs my browser when I lose my internet connection.


Reproducible: Always

Steps to Reproduce:
1. Place name.cgi and test.cgi in your /cgi-bin directory
2. Open test2.xml in your browser
3. Wait for several seconds to make sure everything is cached (except the cgi stuff)
4. Pull the internet connection on your desktop (or the web server) and the
browser window will hang.

Notes:
 1) if you do the test with "test1.xml" the browser seems ok.
 2) Rarely the browser doesn't hang, but most of the time it does.

Actual Results:  
Browser window hangs.


Expected Results:  
test2.xml should behave like test1.xml and give the user the option to stop the
page load.
Also happens on Windows.
Version: unspecified → Trunk
Attached file stacktrace
I loaded the testcase (ok), took down the webserver (ok), brought the webserver
back up ==> hang
Killed brower, reopened browser, opened testcase ==> hang.
The stack is from the second hang.
==> XSLT
Assignee: general → peterv
Severity: normal → critical
Status: UNCONFIRMED → NEW
Component: General → XSLT
Ever confirmed: true
Keywords: hang
OS: Linux → All
Product: Mozilla Application Suite → Core
QA Contact: general → keith
Is the syncloader somehow failing to set mLoading to false on network errors?
This bug seems fixed in the 3.0 Firefox beta's.  Specifically, the test case no longer hangs version:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2) Gecko/2007121120 Firefox/3.0b2
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: