Reasoning about Web Applications: An Operational Semantics for HOP

  • Authors:
  • Gérard Boudol;Zhengqin Luo;Tamara Rezk;Manuel Serrano

  • Affiliations:
  • INRIA Sophia Antipolis-Mediterranée;INRIA Sophia Antipolis-Mediterranée;INRIA Sophia Antipolis-Mediterranée;INRIA Sophia Antipolis-Mediterranée

  • Venue:
  • ACM Transactions on Programming Languages and Systems (TOPLAS)
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.