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

RESOLVED DUPLICATE of bug 637160

Status

()

RESOLVED DUPLICATE of bug 637160
8 years ago
8 years ago

People

(Reporter: chado_moz, Unassigned)

Tracking

({regression})

Trunk
x86
All
regression
Points:
---

Firefox Tracking Flags

(firefox5-)

Details

Attachments

(1 attachment)

818 bytes, text/html
Details
(Reporter)

Description

8 years ago
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.
(Reporter)

Updated

8 years ago
Keywords: regression
Version: unspecified → Trunk
(Reporter)

Comment 1

8 years ago
Created attachment 526273 [details]
testcase

testcase#1

Comment 2

8 years ago
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
Component: General → General
Ever confirmed: true
Product: Firefox → Toolkit
QA Contact: general → general

Updated

8 years ago
tracking-firefox5: --- → ?

Comment 3

8 years ago
This is a nice-to-have and as such we won't track it for FF5. tracking-
tracking-firefox5: ? → -
Bug 637160 patch fixed this.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 637160
You need to log in before you can comment on or make changes to this bug.