Repository navigation
检查扩展断线监听器接口 - #84
Merged
Merged
检查扩展断线监听器接口#84
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
使用者需要注意
浏览器扩展仍在连接断开后注册原有重连逻辑,非扩展模式和没有断线监听器的情况保持原行为。当扩展返回的监听器对象缺少可调用的
addListener时,现在会在边界明确报错。修改与风险
将断线事件对象的静态类型断言改为
js-cast宿主接口检查;消息协议、存档、AI 服务及扩展资源路径未改。检查只验证方法可调用,不验证浏览器内部实现。验证