Closed Bug 116572 Opened 23 years ago Closed 22 years ago

mozilla hangs on eurocaculator script

Categories

(Core :: Web Painting, defect)

defect
Not set
critical

Tracking

()

RESOLVED INVALID
mozilla1.1alpha

People

(Reporter: marten, Assigned: roc)

References

()

Details

(Keywords: hang)

Attachments

(1 file)

1) go to www.echtwel.nl
2) find the eurocalculculator; should be on the frontpage.
3) enter a lot of 9's in the "FL" textbox - this will hang mozilla.

I'm having this problem with mozilla 0.9.7 on linux, but I guess it's something
with javascript, thus the problem should also show up on other platforms.
confirming with win2k build 20011221..

(I think this is not JS ENGINE but i have currently no debug build to get a
stack for this hang)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: hang
The stack I got is dominated by Layout functions; will attach below.
Reassigning to Layout for further triage - 
Assignee: rogerl → attinasi
Component: Javascript Engine → Layout
QA Contact: pschwartau → petersen
I'm also seeing this with Galeon.
*** Bug 118443 has been marked as a duplicate of this bug. ***
Note both this bug and the duped bug feature an <INPUT> with a maxlength 
property. For example:
 
<input type=text style="width:50px; height=19px;" size=5 maxlength=8
       name=eur onKeyUp="toGulden(1)" onChange="toGulden(0)" id=eur>
Problem seems to be the while loop in the script.
Problem also occurs when the 'maxlength' attribute is removed but in that case
the browser will hang when we reach 33 characters. BTW it's the maxlength on the
output that matters.

Tried to create a minimal testcase but I screwed up :D My brain needs more sleep
at the moment but firstly I have to do some more work on this damn university
project :D Will give it another go when I have more time/brainpower available if
a testcase is still needed then.
Target Milestone: --- → mozilla1.1
Roc, can you have a look at this. Looks like Views are involved in the stack.
Assignee: attinasi → roc+moz
Component: Layout → Views
The original eurocalculator is gone from that URL. Can anyone attach another
testcase? If not, I'll have to close this bug as INVALID.
No response. Closing bug as INVALID. Please reopen if you can supply a testcase.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.