发明公开
EP2948851A4 METHOD AND APPARATUS FOR TESTING BROWSER COMPATIBILITY
审中-公开
VERFAHREN UND VORRICHTUNG ZUM TESTEN EINERBROWSERKOMPATIBILITÄT
- 专利标题: METHOD AND APPARATUS FOR TESTING BROWSER COMPATIBILITY
- 专利标题(中): VERFAHREN UND VORRICHTUNG ZUM TESTEN EINERBROWSERKOMPATIBILITÄT
-
申请号: EP13872488申请日: 2013-11-21
-
公开(公告)号: EP2948851A4公开(公告)日: 2016-08-03
- 发明人: FU YANGHUI
- 申请人: TENCENT TECH SHENZHEN CO LTD
- 专利权人: TENCENT TECH SHENZHEN CO LTD
- 当前专利权人: TENCENT TECH SHENZHEN CO LTD
- 优先权: CN201310025121 2013-01-23
- 主分类号: G06F11/36
- IPC分类号: G06F11/36 ; G06F9/45 ; G06F21/57
摘要:
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.
信息查询