Fully Automated HTML and Javascript Rewriting for Constructing a Self-healing Web Proxy

Proceedings at Software Testing, Verification & Reliability (STVR)

T. DurieuxY. HamadiM. Monperrus 

PDFDOISource code

Abstract

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.

@article{BugBlock,
author = {Thomas Durieux and
Youssef Hamadi and
Martin Monperrus},
title = {Fully Automated {HTML} and JavaScript Rewriting for Constructing a
Self-healing Web Proxy},
journal = {Softw. Test. Verification Reliab.},
volume = {30},
number = {2},
year = {2020},
url = { https://doi.org/10.1002/stvr.1731 },
doi = {10.1002/stvr.1731},
timestamp = {Wed, 01 Apr 2020 08:46:15 +0200},
biburl = { https://dblp.org/rec/journals/stvr/DurieuxHM20.bib },
bibsource = {dblp computer science bibliography,  https://dblp.org }
}
Last Updated: 28/07/2021