Fully Automated HTML and Javascript Rewriting for Constructing a Self-healing Web Proxy
This addresses the issue of growing errors in dynamic web applications for developers and users, representing an incremental improvement in web debugging and repair tools.
The paper tackles the problem of front-end errors in complex web applications by presenting a fully automated approach for self-healing through HTML and Javascript rewriting, implemented in tools BikiniProxy and BugBlock, which achieved self-healing rates of 31.76% and 15.67% respectively on a benchmark of 555 reproducible Javascript errors.
Over the last few years, the complexity of web applications has increased to provide more dynamic web applications to users. The drawback of this complexity is the growing number of errors in the front-end applications. In this paper, we present an approach to provide self-healing for the web. We implemented this approach in two different tools: 1) BikiniProxy, an HTTP repair proxy, and 2) BugBlock, a browser extension. They use five self-healing strategies to rewrite the buggy HTML and Javascript code to handle errors in web pages. We evaluate BikiniProxy and BugBlock with a new benchmark of 555 reproducible Javascript errors of which 31.76% can be automatically self-healed by BikiniProxy and 15.67% by BugBlock.