Chrome开发工具网络 - >预览标签不再像Firefox一样渲染HTML/CSS
从一段时间以前(大概几个月)开始,我注意到Chrome Dev工具不再正确地渲染HTML/CSS。它确实会渲染一些东西,但是看起来不太好,因此很难使用。这就是它在Firefox中的外观以及在Chrome中的外观:
但是当前在chrome中,它看起来像:
我在firefox中知道该选项卡被称为响应,但是如果我在Chrome中去那里,您只会得到原始的HTML。您可以在Firefox选项卡中切换一个选项。
我没有很多错误要调试网络选项卡,但是目前我会回到它并开始感到烦人,所以我检查了一些github问题和互联网上的其他页面,但是我找不到类似的东西可能会有所帮助解决这个问题。我也找不到任何设置。我做错了吗?
我使用Chrome:103.0.5060.66。 Symfony版本:4.4。
Since quite some time ago (probably months) I noticed that Chrome dev tools does not render the html/css correctly anymore. It does render something, but it's not looking great, making it hard to use. This is how it looks in Firefox and how it looked like in Chrome too:
But currently in chrome it looks like this:
I know in Firefox the tab is called Response, but if I go there in chrome you just get raw HTML. An option you can switch in the Firefox tab.
I didn't have a lot of errors I had to debug trough the network tab but currently im back to it and starts to get annoying so I checked some Github issues and other pages on internet but I can't find anything similar that might help solve this question. I couldn't find any settings either. Am I doing something wrong?
Im using Chrome: 103.0.5060.66. Symfony version: 4.4.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
发生这种情况是因为在Chrome 102中引入的网络预览选项卡上的安全性得到改善:
https://developer.chrome.com/blog/new-inew-inew-inew-inew-devtools-102/#network-preview
This happens because of the improved security on the network preview tab introduced in Chrome 102:
https://developer.chrome.com/blog/new-in-devtools-102/#network-preview
它将从版本106开始返回。您可以在Beta版本106.0.5249.40中拥有它
It will be back starting from version 106. You can already have it in beta version 106.0.5249.40