gpt4 book ai didi

google-chrome-devtools - 远程设备面板发生了什么变化?

转载 作者:行者123 更新时间:2023-12-04 11:18:45 24 4
gpt4 key购买 nike

我正在运行 Chrome 80,在准备进行移动调试时,我观察到以下情况:

Remote Devices

该面板已迁移到其自己的选项卡,其功能已更改。我查了 changelog但没有提到这个变化。此更改删除的功能之一是将设备尺寸和属性导入“模拟设备”面板的方法。

有什么地方可以阅读这种变化及其推理吗?即使是拉取请求,我也会很高兴。

最佳答案

源代码是最好的文档,因此找出答案的一种方法是查找此字符串:
https://cs.chromium.org/search/?q=%22this+panel+has+been+deprecated+in+favor+of+the%22&sq=package:chromium&type=cs

当您查看文件/src/third_party/devtools-frontend/src/front_end/devices/DevicesView.js 的历史记录时,有这个最近的提交 6239c24: "Remove "Remote Devices" panel" :
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1909383

附上以下文件:
https://docs.google.com/document/d/14qasCOYYELcWtAp-y6N147Mvjv7eWmRsx1hFCB2M6w8/edit

DevTools has the "Remote Devices" tab which allows you to inspect devices like smartphones via technology like ADB. This functionality implements a subset of the features in chrome://inspect/#devices. To remove duplication and confusion for developers ("Which of the two tools should I use?", "Why does this panel not have all features? Oh I should have used the other one", and for devrel folks writing articles: "Which tool should I reference in my guide"?), we should remove the "Remote Devices" panel.



所以也许不是你所期望的,但似乎没有更多了。每次重写都有其丢失的功能。

关于google-chrome-devtools - 远程设备面板发生了什么变化?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60231562/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com