发明公开
EP2948851A4 METHOD AND APPARATUS FOR TESTING BROWSER COMPATIBILITY 审中-公开
VERFAHREN UND VORRICHTUNG ZUM TESTEN EINERBROWSERKOMPATIBILITÄT

METHOD AND APPARATUS FOR TESTING BROWSER COMPATIBILITY
摘要:
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.
信息查询
0/0