Open
Bug 1459147
Opened 7 years ago
Updated 3 years ago
iframe src missmatch to loaded content
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: meno.abels, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20180323154952
Steps to reproduce:
I tried to break a down this problem, the last two days and did not
found any method to reproduce it.
So what is problem:
First I have a page which only contains an empty head and a body with a static iframe in it. The content of iframe src=url request is not
shown in the iframe. The content of iframe sticks with the content which was initially loaded on the first load of the url.
This problem persits with me over reload, and only disappears if i
open a new tab.
I appended a HAR and in this HAR there is the registration page requests from
the iframe "https://tui-wega.audi.com/forms/forms/myaudiv5/registration-al-en" url but the content which is shown in the iframe is from "https://tui-wega.audi.com/forms/forms/myaudiv5/registration-ar-es". I attached two screenshots from the devtools which show these mismatch in the contentWindow attribute url.
These behavior happens only in firefox. I tested also ESR and it does the some odd thing.
I have no clue how i could force the browser to behave like this. The original app does a reload on language change and sets a cookie, but than
the wrong (prev) iframe content is shown.
The shown content seams to stick with the first loaded content.
Sorry for this vage description but i have no idea how a to describe this
strange behavior better.
If you have an thoughs about what to do to fix this I happy to try this.
Actual results:
There is a missmatch between the iframe src=url and the request/shown iframe content.
Expected results:
The content iframe src=url should be displayed.
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Product: Core → Core Graveyard
Assignee | ||
Updated•7 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
Comment 1•4 years ago
|
||
I confirm the bug with this minimal reproducible example in attachment:
- unzip files in a directory
- start a minimal webserver:
python3 -m http.server 8000
- go to
http://localhost:8000/iframe.html
The content of the iFrame is "Content 1"
- edit file
iframe.htm
, and change the iframe'ssrc
tohttp://localhost:8000/content2.html
- reload
http://localhost:8000/iframe.html
The content of the iFrame is still "Content 1" while the source code shows
http://localhost:8000/content2.html
--> BUG - force reload with
SHIFT + refresh
The content of the iFrame is "Content 2"
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•