18.2.18日报

xiaoxiao2021-02-28  45

1,增加右键菜单,可以调试指定坐标节点

2,修复devtools无法执行console命令的bug。原因有两,一个是输入enter的keyEvent.keyIdentifier没填"Enter",

二是DevToolsAgent应该webpage一开始就要创建好,这样才能记录reportExecutionContextCreation信息,

这样WebInspector.RuntimeModel._executionContextCreated才能被执行到,才能指定console是在哪个frame里执行。

相关代码还有WebInspector.ConsoleModel.evaluateCommandInConsole

转载请注明原文地址: https://www.6miu.com/read-2626915.html

最新回复(0)