A Formalization of Web Components


Title: A Formalization of Web Components
Authors: Achim D. Brucker and Michael Herzberg
Submission date: 2020-09-28
Abstract: While the DOM with shadow trees provide the technical basis for defining web components, the DOM standard neither defines the concept of web components nor specifies the safety properties that web components should guarantee. Consequently, the standard also does not discuss how or even if the methods for modifying the DOM respect component boundaries. In AFP entry, we present a formally verified model of web components and define safety properties which ensure that different web components can only interact with each other using well-defined interfaces. Moreover, our verification of the application programming interface (API) of the DOM revealed numerous invariants that implementations of the DOM API need to preserve to ensure the integrity of components.
  author  = {Achim D. Brucker and Michael Herzberg},
  title   = {A Formalization of Web Components},
  journal = {Archive of Formal Proofs},
  month   = sep,
  year    = 2020,
  note    = {\url{https://isa-afp.org/entries/DOM_Components.html},
            Formal proof development},
  ISSN    = {2150-914x},
License: BSD License
Depends on: Shadow_DOM