Closed Bug 136145 Opened 23 years ago Closed 23 years ago

browser crashes when scripting an invisible object

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: pmml, Assigned: joshua.xia)

Details

(Keywords: crash)

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+) Gecko/20020405 BuildID: 2002040503 when i have an object with a style sheet like: .mystyle {position:absolute; visibility: hidden} and i try to script it the browsers takes over of the cpu (in taskmanager i get 100% of usage by Mozilla.exe) until crash. If i remove the style sheet it works fine. i've seen this with an applet that i script in order to make some calculations, that works fine without style sheet and crashes with style sheet. i've the same problem with a menu in dhtml and js that i was trying to do. If i hide it is crashes with the script, else the menu works... Reproducible: Always Steps to Reproduce: 1. create an object with the style sheet .mystyle {position:absolute; visibility: hidden} 2. script whatever is on that style 3. crash Actual Results: mozilla crashes Expected Results: since my applet doesn't have a gui, it should work, else some kind of exception should be thrown, because my script is called inside a try catch block.
Can you attach a simple test case ?
Keywords: crash
the zip file contains a applet and 2 html files. the File1-ok works fine, the file File1-bug hangs or crashes. the diferences are in a stylesheet applied to an applet.
-> Oji I see no hang/crash but i can't use any Menu command after i clicked on the link. (CTRL+N or Window/Mail fails) I'm using JRE1.4, it works for some people on IRC with JRE1.3
Assignee: sgehani → joe.chou
Status: UNCONFIRMED → NEW
Component: XP Apps → OJI
Ever confirmed: true
QA Contact: paw → pmac
QA Contact: pmac → petersen
reassign to me
Assignee: joe.chou → joshua.xia
WFM on Linux(RH8.0)/Windows2000 mozilla1.2 JRE1.4.1_01 Closing Reporter: Please try latest JRE and feel free to reopen if it is still a problem
Really closing.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Worksforme with latest trunk on WinXP with JRE1.4.1_02 Marking Verified.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: