On webpage reload (or F5 / Ctrl+R) iframes are reload with "GET /location unknown"
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
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:
-
Open a web page with <iframe src=/location></iframe>
-
Reload (or F5 / Ctrl+R)
Actual results:
iframe is reloaded with:
GET /location undefined
Expected results:
must reload with:
GET /location HTTP/1.1
| Reporter | ||
Comment 1•3 years ago
|
||
Sorry, my mistake, content in iframe is loaded with javascript
<iframe id=ifrc></iframe>
document.getElementById('ifrc').contentWindow.location.replace('/location');
Comment 2•3 years ago
|
||
Could you please provide a test page/test case in order to try to reproduce this?
Thanks.
| Reporter | ||
Comment 4•3 years ago
|
||
| Reporter | ||
Comment 5•3 years ago
|
||
(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
Comment 6•3 years ago
|
||
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.
Description
•