Closed
Bug 246377
Opened 21 years ago
Closed 14 years ago
JavaScript alert causes UI hang on alphabetic data in the salary text field ("too much recursion" in tabbrowser.xml)
Categories
(SeaMonkey :: Tabbed Browser, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: cleath, Unassigned)
References
(Depends on 1 open bug, )
Details
(Keywords: hang, testcase)
Attachments
(1 file)
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040608
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040608
The java script window pops up & never goes away, causing browser freeze if you
enter "board" or other invalid data in the salary box, and other boxes.
Safari handles this error box better.
Reproducible: Always
Steps to Reproduce:
1. Visit http://www.slocity.org/humanresources/download/slojobapp.asp
2. Scroll down to employment history. In salary box enter characters, not numbers
3. Hit tab key.
Actual Results:
The message box pops up but has no text or button coloring. There are two
buttons, but pressing them has no effect. Browser must be forced to quit. Form
data is lost.
Expected Results:
See safari behavior-- it should have said "only enter numbers 1-9 in this box"
and let you close the box by hitting a button. However even safari requires you
to hit ok twice.
Confirmed using Mozilla-Mac/1.8a1. Not an application hang, though; more of a UI
hang. Page generates several JS errors, beginning with:
Error: too much recursion
Source File: chrome://global/content/bindings/tabbrowser.xml Line: 1521
if (event.originalTarget == this.mPanelContainer) this.updateCurren...
Reassigning to Tabbed Browser to start since that tabbrowser.xml file is
implicated first.
(Also fails using Firefox, but WFM using Camino.)
Assignee: js-console → tabbed-browser
Severity: critical → major
Status: UNCONFIRMED → NEW
Component: JavaScript Console → Tabbed Browser
Ever confirmed: true
QA Contact: jrgmorrison
Summary: The java script window pops up & never goes away, causing browser freeze if you enter "board" or other invalid data in the salary box → The java script window pops up & never goes away, causing UI hang if you enter "board" or other invalid data in the salary box
Keywords: testcase
Summary: The java script window pops up & never goes away, causing UI hang if you enter "board" or other invalid data in the salary box → JavaScript alert causes UI hang on alphabetic data in the salary text field
Summary: JavaScript alert causes UI hang on alphabetic data in the salary text field → JavaScript alert causes UI hang on alphabetic data in the salary text field ("too much recursion" in tabbrowser.xml)
Comment 3•21 years ago
|
||
Found this error in the JavaScript Console with FF 0.9.1 (Mozilla/5.0 (Windows;
U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1)
Error: [Exception... "'Permission denied to get property
XULElement.selectedIndex' when calling method:
[nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame ::
file:///C:/temp/jsbug.html :: warnInvalid :: line 15" data: no]
Source File: file:///C:/temp/jsbug.html
Line: 15
Line 15 is the alert(s);
Comment 4•20 years ago
|
||
This bug still exists in 1.0PR Firefox in Windows.
Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Updated•17 years ago
|
Assignee: tabbed-browser → nobody
QA Contact: tabbed-browser
Comment 5•17 years ago
|
||
The blank alert is bug 403999. The fact that this testcase (which is basically onblur, focus(), and alert) triggers lots of recursion is probably another known bug (bug 112294, bug 279819, bug 291212, and/or bug 304634).
Assignee | ||
Updated•17 years ago
|
Product: Core → SeaMonkey
![]() |
||
Comment 6•14 years ago
|
||
WORKSFORME:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b9pre) Gecko/20110101 SeaMonkey/2.1b2pre
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•