Chrome won't load CSS sourcemaps in an iframe

127 views
Skip to first unread message

Daniel Schaffer

unread,
May 28, 2016, 3:56:10 PM5/28/16
to Google Chrome Developer Tools
Why won't chrome won't load CSS sourcemaps within an iframe? Repro here: http://run.plnkr.co/NaAndt5tc4JcuqIA/

Both the parent page and the child page in the iframe reference the same CSS file, which includes a sourcemap reference. However, if you look at the pages in the inspector, it only uses the sourcemap when inspecting elements from the parent. Elements from the child only reference the css file. Firefox will show sourcemaps for both the parent and the iframe, why doesn't Chrome?

PhistucK

unread,
May 29, 2016, 3:47:55 PM5/29/16
to Google Chrome Developer Tools
The URL seems to have expired.


PhistucK

On Sat, May 28, 2016 at 9:50 PM, Daniel Schaffer <d...@dandoes.net> wrote:
Why won't chrome won't load CSS sourcemaps within an iframe? Repro here: http://run.plnkr.co/NaAndt5tc4JcuqIA/

Both the parent page and the child page in the iframe reference the same CSS file, which includes a sourcemap reference. However, if you look at the pages in the inspector, it only uses the sourcemap when inspecting elements from the parent. Elements from the child only reference the css file. Firefox will show sourcemaps for both the parent and the iframe, why doesn't Chrome?

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/4f4c38e3-4678-42b5-8a73-473bd0906843%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Schaffer

unread,
May 31, 2016, 1:45:22 PM5/31/16
to Google Chrome Developer Tools
Doh!


Since it all runs in iframes, in order to see the issue, you'll need to click the blue "expand" icon in the upper right of the preview pane so it opens in a new window.

PhistucK

unread,
Jun 1, 2016, 1:03:11 PM6/1/16
to Google Chrome Developer Tools
You can search crbug.com for an existing issue and star it. If you cannot find one, file a new issue using the "New issue" link on the same page.
Please, do not add a "+1" or "Me too" or "Confirmed" (or similar) comment. It just wastes the time of Chrome engineers and sends unnecessary e-mails to all of the people who starred the issue.

You can reply with a link to the found or created issue and might get triaged (and fixed) faster.

Thank you.



PhistucK

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages