Closed Bug 541083 Opened 15 years ago Closed 11 years ago

redirect on reload with iframes still displays first page

Categories

(Firefox :: Session Restore, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: skkiran, Unassigned)

References

()

Details

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 NORMAL SCENARIO: Visit http://www.opayq.com/firefox/page1 and you will get a page with BLUE text. This page has an IFRAME and its contents are also in BLUE. This page sets a cookie and doing a reload will do an server redirect to page2 (302). Reload (F5 or Ctrl+R) and you will be taken to http://www.opayq.com/firefox/page2. which has all text in RED. This page also has an IFRAME and its contents are in RED. BUGGY SCENARIO: Visit http://www.opayq.com/firefox/page1 and you will get a page with BLUE text. Now RESTART BROWSER. You will get back to page1 with only BLUE text. Now RELOAD (F5 or Ctrl+R) and you will reach page2 with page contents in RED and IFRAME contents still in BLUE (iframe url doesnt change to page 2 iframe url) Reproducible: Always Steps to Reproduce: 1. visit http://www.opayq.com/firefox/page1 2. RESTART BROWSER 3. After restart RELOAD PAGE (F5 or Ctrl+R) Actual Results: Page2 still has IFRAME url from PAGE1 Expected Results: Iframe in Page2 must change to URL given in Page2
Attached image Page 1 (normal)
Attached image Page 2 (normal)
Attached image Page 2 (BUG)
Attachment #422732 - Attachment description: Page 3 (BUG) → Page 2 (BUG)
I have modified test page to add another easy way to reproduce bug using window.location.reload() call. steps: 1) visit http://www.opayq.com/firefox/page1 2) follow process in "bug scenario 2" Happens when a page containing an iframe is redirected to another page (on reload/restart) and the target page also has an iframe. iframe will still point to the url in first page instead of the url in redirected page.
i have reproduced this bug on FF 3.0/3.5 on windows and 3.5 on mac
reproduced this bug on 3.6 and 3.7a2 works fine on google chrome and IE.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.4) Gecko/20100413 Firefox/3.6.4 I can reproduce this bug. See comment 4 for most accurate description of the bug. FWIW, I don't think it's a Session Restore bug. As comment 4 points out, it is a bug with "redirect on reload with target with an iframe". Session Restore "reloads" the content of any restored tabs. I'm not sure what COMPONENT "redirect" bugs should go in though...
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
Summary: iframes not restored properly after restart → redirect on reload with iframes still displays first page
Works fine in latest nightly
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: