New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 836243 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Dev Tools > Elements > relative iFrame src has domain:port from parent window

Reported by emanuel....@googlemail.com, Apr 24 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Steps to reproduce the problem:
(1) Empty parent page <html><body>... hosted: //localhost:5000
(2) Generate iFrame with src //localhost:14417 in the parent page.
(3) iFrame contain script tag -> src relative to the iFrame src ../../example.js
(4) Open "Dev tools" 
(5) Dev tools > Elements (tab) -> Mouse interactions to scripts src (domain/port) are wrong. Tooltip is also wrong -> domain/path.

What is the expected behavior?
Dev tool > Elements (tab): The script tag in the iFrame should have the domain:port from the iFrame, tooltip should contain iframe domain:port/path.

What went wrong?
Dev tool > Elements (tab): The script tag is linked with the domain/port from the parent window of the iFrame. Tooltip url/path is also wrong.

Did this work before? N/A 

Chrome version: 65.0.3325.181  Channel: n/a
OS Version: 10.0
Flash Version:
 
chrome-iframe-relative-script-src-bug.PNG
38.0 KB View Download
Labels: Needs-Triage-M65
Cc: krajshree@chromium.org
Labels: Triaged-ET Needs-Feedback
emanuel.schaedler@ - Thanks for filing the issue...!!

Could you please help us in providing a sample test file/url to test the issue from TE-end.
This will help us in triaging the issue further.

Thanks...!!
Owner: einbinder@chromium.org
Status: Assigned (was: Unconfirmed)

Sign in to add a comment