Brucker, A.D. orcid.org/0000-0002-6355-1200 and Herzberg, M. (2018) A formal model of the Document Object Model. Archive of Formal Proofs. ISSN 2150-914X
Abstract
In this AFP entry, we formalize the core of the Document Object Model (DOM). At its core, the DOM defines a tree-like data structure for representing documents in general and HTML documents in particular. It is the heart of any modern web browser. Formalizing the key concepts of the DOM is a prerequisite for the formal reasoning over client-side JavaScript programs and for the analysis of security concepts in modern web browsers. We present a formalization of the core DOM, with focus on the node-tree and the operations defined on node-trees, in Isabelle/HOL. We use the formalization to verify the functional correctness of the most important functions defined in the DOM standard. Moreover, our formalization is 1) extensible, i.e., can be extended without the need of re-proving already proven properties and 2) executable, i.e., we can generate executable code from our specification.
Metadata
Item Type: | Article |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © 2018 the Authors. |
Keywords: | Document Object Model; DOM; Formal Semantics; Isabelle/HOL |
Dates: |
|
Institution: | The University of Sheffield |
Academic Units: | The University of Sheffield > Faculty of Engineering (Sheffield) > Department of Computer Science (Sheffield) |
Depositing User: | Symplectic Sheffield |
Date Deposited: | 16 Jan 2019 13:42 |
Last Modified: | 16 Jan 2019 13:42 |
Published Version: | https://www.isa-afp.org/entries/Core_DOM.html |
Status: | Published |
Publisher: | Archive of Formal Proofs |
Refereed: | Yes |
Related URLs: | |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:140878 |