Closed Bug 653900 Opened 13 years ago Closed 13 years ago

Firefox reopen parent page when open new window after parent closed

Categories

(Firefox :: Session Restore, defect)

4.0 Branch
x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 628043

People

(Reporter: lascjr, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.0; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Windows NT 6.0; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

In version 4.0 and 4.0.1, the Firefox change the window control.
I have created a page1,htm, this page open page2.htm in new window by javascript function.

After open the page2.htm, if you close the page1.htm, all new links opened in page2.htm are redirect to page1.htm and not to correct page or website.

Reproducible: Always

Steps to Reproduce:
1.Access http://www.3wdesigner.com.br/firefox4/page1.htm
2.Click on "Click to open page 2 on new window"
3.Close the window for page1.htm
4.Return to window with page2.htm
5.Click on "open google in new window"

Actual Results:  
page1.htm opened again

Expected Results:  
Google opened in the new window

I have this same function working without problems in Firefox 3.6.x
Confirmed on
http://hg.mozilla.org/mozilla-central/rev/88d3c5bde0ba
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0a1) Gecko/20110429 Firefox/6.0a1 ID:20110429030623

Before landing of Bug 592822, it only happens when chose "Save and Quit" of "Quit Firefox" dialog.(so this happens Firefox3.6.16 too)
However, After landing of Bug 592822, it was actualized and always happens.
Blocks: 592822
Depends on: 628043
#1 Regression window:
Works:
http://hg.mozilla.org/mozilla-central/rev/3222b99f441c
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090730 Minefield/3.6a1pre ID:20090730041801
Fails(it only happens when chose "Save and Quit" of "Quit Firefox" dialog):
http://hg.mozilla.org/mozilla-central/rev/6a5f22ccbe0e
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090731 Minefield/3.6a1pre ID:20090731044744
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3222b99f441c&tochange=6a5f22ccbe0e
Triggered by:
cd25ab8c2f30	Nils Maier — Bug 354894 - Session restore doesn't work if process hasn't exited. r=zeniko,dao sr=vlad

#2 Regression window:
Fails(it only happens when chose "Save and Quit" of "Quit Firefox" dialog):
http://hg.mozilla.org/mozilla-central/rev/2736d8740c66
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110119 Firefox/4.0b10pre ID:20110120145547
Fails(always):
http://hg.mozilla.org/mozilla-central/rev/b9e2c6e0f2ad
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110120 Firefox/4.0b10pre ID:20110120152756
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2736d8740c66&tochange=b9e2c6e0f2ad
Triggered by:
c2847030afec	Paul O’Shannessy — Bug 592822 - Remove quit warning dialog [r=gavin, r=dietrich, a=blocking2.0:betaN+]
Blocks: 354894
Status: UNCONFIRMED → NEW
Component: General → Session Restore
Ever confirmed: true
QA Contact: general → session.restore
Version: unspecified → 3.6 Branch
Version: 3.6 Branch → 4.0 Branch
Works for me on
http://hg.mozilla.org/mozilla-central/rev/8404426ef391
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0a1) Gecko/20110514 Firefox/6.0a1 ID:20110514030626

This was fixed by Bug 628043
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.