Closed Bug 616228 Opened 14 years ago Closed 13 years ago

Tabpanes looes control of tabs if error popup is shown after a tab is closed

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: friesgaard, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10

Typing a incomplete social security number (Personnummer) and closing the tab makes the tab control out of order.

Guess some javascript runs eventhough the pages i closed. It evaluates the social security number which forces it to repopen the tab and report the error,

Reproducible: Didn't try

Steps to Reproduce:
1) Opening: https://www.tastselv.skat.dk/TSADG_BORGER/loginpin.do
2) typing two number (eg. 20)
3) Closing the tab by Command-W
4) page is repopen, tab is not. Error dialog is showing: social security number (Personnummer) is to short 
Actual Results:  
Result: cannot close some tabs, pages reappear in the tab-cycle


Expected Results:  
error popup is not shown! tab does not reappear and tab control is maintained. 

Plugins: adblock+, garmin communicator.
just tried to reproduce, it happens every time
I can reproduce on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E) ID:20101026210630

If you close the tab before the the validation js runs, the validation is run when the close tab is called - this causes the tab to disappear from the tab list, but the page and an alert dialog appear on the screen.
Also reproducible on Mozilla/5.0 (Windows NT 5.1; rv:2.0b9pre) Gecko/20101219 Firefox/4.0b9pre ID:20101219030346 with slightly different outcome

1) Opening: https://www.tastselv.skat.dk/TSADG_BORGER/loginpin.do
2) typing two numbers (eg. 20)
3) Closing the tab by Command/Ctrl-W
4) Validation dialog appears
5) Alt-Tab to another tab

Actual Result:

Closed tab with validation message still appears in tab bar but you can not change to that tab. The only way I was able to get rid of the tab is to right click and choose reload tab - the tab then closed.

Expected Result:

Tab is either closed or is still accessible
Version: unspecified → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
This doesn't seem like a JS engine issue.  Dolske, any idea what the right place for this is?
Assignee: general → nobody
Component: JavaScript Engine → XUL Widgets
Product: Core → Toolkit
QA Contact: general → xul.widgets
Btw. I have seen the same issue on other pages, like on the Google pages, these make heavy use of javascript!
Can no longer reproduce on Mozilla/5.0 (Windows NT 5.1; rv:9.0a1) Gecko/20110827 Firefox/9.0a1 ID:20110827030801

Morten -> Are you still experiencing this issue with the latest version of Firefox 6? Does the issue occur with the latest nightly? http://nightly.mozilla.org/
No, it seems like it disappeared over the night ;-)

Or after updating to 6.0 I cannot reproduce the error!
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.