“Particularly powerful” would mean things like: features that handle personally-identifiable information,features that handle high-value information like credentials or payment instruments,features that provide the origin with control over the UA’s trustworthy/native UI,access to sensors on the user’s device,or generally any feature that we would provide a user-settable permission or privilege to. Please discuss!
“Particularly powerful” would not mean things like: new rendering and layout features,CSS selectors,innocuous JavaScript APIs like showModalDialog,or the like. I expect that the majority of new work in HTML5 fits in this category. Please discuss!
但由于某种原因,服务工作者被抛入第一类.为什么会发生这种情况有任何规范原因?
解决方法
来自HTML5rocks的Matt Gaunt于 cited年晚些时候表示
Using service worker you can hijack connections,fabricate,and filter responses. Powerful stuff. While you would use these powers for good,a man-in-the-middle might not. To avoid this,you can only register for service workers on pages served over HTTPS,so we know the service worker the browser receives hasn’t been tampered with during its journey through the network.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。