mipengine / mip2

MIP (移动网页加速器)通过优化网页JS、控制资源加载顺序,达到加速网页的效果。
https://www.mipengine.org/
MIT License
184 stars 49 forks source link

修复沙盒漏洞 #569

Closed clark-t closed 5 years ago

clark-t commented 5 years ago

相关 ISSUE: (ISSUE 链接地址)

568

1、升级点 (清晰准确的描述升级的功能点)

  1. MIP.sandbox.strict.MIP.sandbox 指向 MIP.sandbox.strict
  2. MIP.sandbox.strict.MIP.util 只开放 platform\customStorage\jsonParse\string

2、影响范围 (描述该需求上线会影响什么功能)

  1. 所有用到 mip-script 的站点可能会有影响

3、自测 Checklist

  1. 单测全覆盖

4、需要覆盖的场景和 Case

5、自测机型和浏览器

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 1035


Files with Coverage Reduction New Missed Lines %
src/util/templates.js 2 94.52%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 1029: -0.03%
Covered Lines: 3754
Relevant Lines: 3890

💛 - Coveralls