Reasoning about Web Applications

Gérard Boudol, Zhengqin Luo, Tamara Rezk, Manuel Serrano · ACM Transactions on Programming Languages and Systems · 2012

We propose a small-step operational semantics to support reasoning about Web applications written in the multitier language HOP. The semantics covers both server side and client side computations, as well as their interactions, and includes creation of Web services, distributed client-server communications, concurrent evaluation of service requests at server side, elaboration of HTML documents, DOM operations, evaluation of script nodes in HTML documents and actions from HTML pages at client side. We also model the browser same origin policy (SOP) in the semantics. We propose a safety property by which programs do not get stuck due to a violation of the SOP and a type system to enforce it.

Read the paper · More papers on PaperTik