Closed Bug 626015 Opened 14 years ago Closed 14 years ago

Tab-modal confirm(): spooky action on other tab

Categories

(Toolkit :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: kdevel, Unassigned)

Details

Attachments

(1 file)

User-Agent:       
Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b10pre) Gecko/20110115 Firefox/4.0b10pre

follow-up to Bug 622326

Reproducible: Always

Steps to Reproduce:
1. open testcase in tab 1 
2. open testcase in tab 2
3. press OK button in tab 1
Actual Results:  
1. spinner of tab 1 keeps running
2. "Original content"

Expected Results:  
1. spinner of tab 1 stops
2. "Original content" and "Extra content"
Attached file testcase (deleted) —
STR continuated:

4. press OK buttin in tab 2

Actual: Result:
Both spinner stop and both tabs show expected text.
Thanks for the reporting the problem. Unfortunately, the behavior you observed,
although undesired, is unavoidable with the current architecture. I think that
many other major web browsers would behave in the same or similar ways if you
follow the same steps using two windows instead of two tabs.

There is a project code-named Electrolysis (e10s) that basically will render
the execution of web pages or group of pages independent from each other.
That will help mitigate or solve this problem. Electrolysis, however, is a
complex project made of various parts, and the required part will take time
to be completed.
Well. Google Chrome blocks all tabs and all windows upon confirm. KDE Konqueror and opera only block the current window and all tabs therein,
This is known and expected.

Opening the 2nd modal prompt spins a second event loop. So while clicking ok in the 1st tab makes the dialog go away, control can't return to the script in that page until the 2nd event loop is completed (by dismissing the prompt in the second tab).
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Product: Firefox → Toolkit
QA Contact: general → general
Resolution: --- → INVALID
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: