Fully Automated HTML and JavaScript Rewriting for Constructing a Self‐healing Web Proxy

Autor: Martin Monperrus, Thomas Durieux, Youssef Hamadi
Přispěvatelé: Royal Institute of Technology [Stockholm] (KTH ), Self-adaptation for distributed services and large software systems (SPIRALS), Inria Lille - Nord Europe, Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)-Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189 (CRIStAL), Centrale Lille-Université de Lille-Centre National de la Recherche Scientifique (CNRS)-Centrale Lille-Université de Lille-Centre National de la Recherche Scientifique (CNRS), Microsoft Research [Cambridge] (Microsoft), Microsoft Research
Rok vydání: 2020
Předmět:
Zdroj: ISSRE
Journal of : Software Testing, Verification and Reliability
Journal of : Software Testing, Verification and Reliability, Wiley, 2019, 30 (2), ⟨10.1002/stvr.1731⟩
Proceedings of the 29th IEEE International Symposium on Software Reliability Engineering (ISSRE 2018)
Proceedings of the 29th IEEE International Symposium on Software Reliability Engineering (ISSRE 2018), Oct 2018, Memphis, United States. ⟨10.1109/ISSRE.2018.00012⟩
ISSN: 1099-1689
0960-0833
DOI: 10.1002/stvr.1731
Popis: International audience; 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 BikiniProxy, a novel technique to provide self-healing for the web. BikiniProxy is designed as an HTTP proxy that uses five self-healing strategies to rewrite the buggy HTML and Javascript code. We evaluate BikiniProxy with a new benchmark of 555 reproducible Javascript errors, DeadClick. We create DeadClick by randomly crawling the Internet and collect all web pages that contain Javascript errors. Then, we observe how BikiniProxy heals those errors by collecting and comparing the traces of the original and healed pages. To sum up, BikiniProxy is a novel fully-automated self-healing approach that is specific to the web, evaluated on 555 real Javascript errors, and based on original self-healing rewriting strategies for HTML and Javascript.
Databáze: OpenAIRE