Invention Grant
- Patent Title: Method and apparatus for testing browser compatibility
- Patent Title (中): 用于测试浏览器兼容性的方法和设备
-
Application No.: US14752222Application Date: 2015-06-26
-
Publication No.: US09465593B2Publication Date: 2016-10-11
- Inventor: Yanghui Fu
- Applicant: Tencent Technology (Shenzhen) Company Limited
- Applicant Address: CN Shenzhen
- Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee Address: CN Shenzhen
- Agency: Anova Law Group, PLLC
- Priority: CN201310025121 20130123
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F11/36

Abstract:
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.
Public/Granted literature
- US20150301811A1 METHOD AND APPARATUS FOR TESTING BROWSER COMPATIBILITY Public/Granted day:2015-10-22
Information query