Open Bug 1744239 Opened 3 years ago Updated 3 years ago

On webpage reload (or F5 / Ctrl+R) iframes are reload with "GET /location unknown"

Categories

(Core :: DOM: Navigation, defect)

Firefox 94
All
Windows 7
defect

Tracking

()

Tracking Status
firefox95 --- affected
firefox96 --- affected
firefox97 --- affected

People

(Reporter: rmitev, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0

Steps to reproduce:

  1. Open a web page with <iframe src=/location></iframe>

  2. Reload (or F5 / Ctrl+R)

Actual results:

iframe is reloaded with:

GET /location undefined

Expected results:

must reload with:

GET /location HTTP/1.1

Sorry, my mistake, content in iframe is loaded with javascript

<iframe id=ifrc></iframe>

document.getElementById('ifrc').contentWindow.location.replace('/location');

Could you please provide a test page/test case in order to try to reproduce this?
Thanks.

Flags: needinfo?(rmitev)

Hello,

Page is here

Flags: needinfo?(rmitev)

(In reply to Hani Yacoub from comment #2)

Could you please provide a test page/test case in order to try to reproduce this?
Thanks.

Hello,

Page is here

http://www.iliev.org/ffbug/

Managed to reproduce this issue on Windows 10 x64, Ubuntu 20.04 x64 and on macOS 11.6.
PS: I couldn't reproduce the issue macOS 11.6 on the latest Nightly.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: Navigation
Ever confirmed: true
OS: Unspecified → Windows 7
Product: Firefox → Core
Hardware: Unspecified → All
You need to log in before you can comment on or make changes to this bug.