一句话:聚焦浏览器渲染回归:网页视觉外观无预定义正确性,自动检测异常极具挑战。
本文关注 Web 浏览器中的渲染回归(rendering regression),即浏览器更新后网页不再按用户预期工作的缺陷。此类缺陷会严重损害浏览器与 Web 应用的可用性;其特殊之处在于错误体现为网页呈现的视觉外观异常,但网页本身并不存在预定义的“正确外观”,因此自动检测外观错误非常困难。摘要未给出具体技术方法与实验评估结果,仅指出实际中浏览器厂商不得不依赖非平凡且耗时的人工分析来发现和处理渲染回归。基于所给摘要,本文的核心在于揭示并形式化该自动检测难题,而非报告已实现的检测方案。
A rendering regression is a bug introduced by a web browser where a web page no longer functions as users expect. Such rendering bugs critically harm the usability of web browsers as well as web applications. The unique aspect of rendering bugs is that they affect the presented visual appearance of web pages, but those web pages have no pre-defined correct appearance. Therefore, it is challenging to automatically detect errors in their appearance. In practice, web browser vendors rely on non-trivial and time-prohibitive manual analysis to detect and handle rendering regressions.