发明授权
- 专利标题: Method and apparatus for testing browser compatibility
- 专利标题(中): 用于测试浏览器兼容性的方法和设备
-
申请号: US14752222申请日: 2015-06-26
-
公开(公告)号: US09465593B2公开(公告)日: 2016-10-11
- 发明人: Yanghui Fu
- 申请人: Tencent Technology (Shenzhen) Company Limited
- 申请人地址: CN Shenzhen
- 专利权人: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- 当前专利权人: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- 当前专利权人地址: CN Shenzhen
- 代理机构: Anova Law Group, PLLC
- 优先权: CN201310025121 20130123
- 主分类号: G06F9/45
- IPC分类号: G06F9/45 ; G06F11/36
摘要:
A method and an apparatus for testing browser compatibility are provided. The method may include pre-processing source code of a webpage to determine a code type. A compatibility rule library may be obtained according to the code type. Further, a syntax parsing may be conducted on the source code to obtain a syntax tree of the source code. The browser compatibility of the webpage may be tested by conducting a static analysis of the source code based on the compatibility rule library and the syntax tree. The disclosed method and apparatus for testing browser compatibility can automatically conduct static analysis of the webpage source code to test browser compatibility, which is simple and inexpensive.
公开/授权文献
- US20150301811A1 METHOD AND APPARATUS FOR TESTING BROWSER COMPATIBILITY 公开/授权日:2015-10-22
信息查询