“远程设备"面板发生了什么? [英] What happened to the Remote Devices panel?

查看:64
本文介绍了“远程设备"面板发生了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行Chrome 80,并准备进行移动调试时,请注意以下几点:

I'm running Chrome 80 and while getting ready for mobile debugging I observe the following:

该面板已迁移到其自己的选项卡,并且其功能已更改.我检查了更改日志,但没有提及此更改.此项更改删除的功能之一是一种将设备尺寸和属性导入仿真设备"面板的方法.

The panel has been migrated to its own tab and its functionality has changed. I checked the changelog but there is no mention of this change. One of the features removed with this change was a way to import the device dimensions and properties into the Emulated Devices panel.

是否有地方可以阅读有关此更改及其原因的信息?即使是请求请求,我也会很高兴.

Is there any place to read up on this change and its reasoning? Even if it's a pull request I'd be happy.

推荐答案

源代码是最好的文档,因此一种查找方法是去查找以下字符串:

Source code is the best documentation, so one way to find out is to go looking for this string:
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

When you look at the history of file /src/third_party/devtools-frontend/src/front_end/devices/DevicesView.js, there is this recent commit 6239c24: "Remove "Remote Devices" panel":
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1909383

,随附以下文件:
> https://docs.google.com/document/d/14qasCOYYELcWtAp-y6N147MvM7x7M147

with the following document attached:
https://docs.google.com/document/d/14qasCOYYELcWtAp-y6N147Mvjv7eWmRsx1hFCB2M6w8/edit

DevTools具有远程设备"选项卡,通过该选项卡,您可以通过ADB等技术来检查智能手机等设备.此功能实现了chrome://inspect/#devices中功能的子集.为了消除开发人员的重复和困惑(我应该使用两种工具中的哪一种?",为什么该面板不具有所有功能?哦,我应该使用另一种工具",以及对于精干的人写文章:哪种工具应该在我的指南中引用?",我们应该删除远程设备"面板.

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.

所以也许不是您期望的那样,但是似乎没有更多的东西了.每次重写都有其丢失的功能.

So maybe not what you expected, but it seems there's nothing more to it. Every rewrite has its lost features.

这篇关于“远程设备"面板发生了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆