Closed Bug 650301 Opened 13 years ago Closed 13 years ago

alert, confirm and prompt show window-modal dialog, after using history navigation

Categories

(Toolkit :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 637160
Tracking Status
firefox5 - ---

People

(Reporter: chado_moz, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:6.0a1) Gecko/20110414 Firefox/6.0a1
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:6.0a1) Gecko/20110414 Firefox/6.0a1

After using history navigation, alert, confirm and prompt show 
old style window-modal dialog box insted of content-modal (aka 
tab-modal.)


Reproducible: Always

Steps to Reproduce:
1. open testcase.
2. click "js:alert" link to show alert dialog box.
   content-modal dialog box appears at this time.
3. click home-button in the navigation toolbar
   to visit some page other than test page.
4. click back-button in the navigation toolbar
   to go back to test page via history navigation.
5. click "js:alert" link to show alert dialog box again.

Actual Results:  
now, alert dialog box appears in the old style window-modal.


Expected Results:  
current style content-modal dialog box is expected to appear, 
even after using history navigation.


doing reload the test page before firing js:alert, it shows 
content-modal dialog box as expected, even after using history navigation.

regressed range:
cur style: rv:2.0b12pre) Gecko/20110215 Firefox/4.0b12pre ID:20110215030353
    Built from http://hg.mozilla.org/mozilla-central/rev/2c646d10b9c7
old style: rv:2.0b12pre) Gecko/20110216 Firefox/4.0b12pre ID:20110216030352
    Built from http://hg.mozilla.org/mozilla-central/rev/b4aa47ca42c1
pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2011-02-15+03%3A00&enddate=2011-02-16+03%3A00
  or
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2c646d10b9c7&tochange=b4aa47ca42c1

this is from http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=6788 
(written in Japanese,) confirmed on Mac OS X 10.6.7, Windows Vista, 
Windows XP SP3, and Ubuntu Linux 10.10.
Keywords: regression
Version: unspecified → Trunk
Attached file testcase
testcase#1
Regression window(cached m-c hourly):
works:
http://hg.mozilla.org/mozilla-central/rev/eeb1dd9e7028
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110211 Firefox/4.0b12pre ID:20110215145430
Fails:
http://hg.mozilla.org/mozilla-central/rev/ed6776b1ac0d
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110213 Firefox/4.0b12pre ID:20110215164057
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=eeb1dd9e7028&tochange=ed6776b1ac0d
Suspected:
ecb0354f7c09	Justin Dolske — Bug 613800 - A Race Condition when closing inactive tab with alerts in OnBeforeUnload; r=jst a=blocking-final
Blocks: 613800
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Firefox → Toolkit
QA Contact: general → general
This is a nice-to-have and as such we won't track it for FF5. tracking-
Bug 637160 patch fixed this.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: