Explaining Visual Changes in Web Interfaces
Abstract
Web developers often want to repurpose interactive behaviors from third-party web pages, but struggle to locate the specific source code that implements the behavior. This task is challenging because developers must find and connect all of the non-local interactions between event-based JavaScript code, declarative CSS styles, and web page content that combine to express the behavior. The Scry tool embodies a new approach to locating the code that implements interactive behaviors. A developer selects a page element; whenever the element changes, Scry captures the rendering engine's inputs (DOM, CSS) and outputs (screenshot) for the element. For any two captured element states, Scry can compute how the states differ and which lines of JavaScript code were responsible. Using Scry, a developer can locate an interactive behavior's implementation by picking two output states; Scry indicates the JavaScript code directly responsible for their differences.
- Venue
- UIST 2015
- Volume
- Proceedings of the 28th Annual ACM Symposium on User Interface Software & Technology
- DOI
- 10.1145/2807442.2807473
- https://dl.acm.org/doi/pdf/10.1145/2807442.2807473
- Anthology ID
2015.uist.31
Cite
@inproceedings{burg-etal-2015-explaining,
title = {{Explaining Visual Changes in Web Interfaces}},
author = {Brian Burg and Amy J. Ko and Michael D. Ernst},
booktitle = {Proceedings of the 28th Annual ACM Symposium on User Interface Software \& Technology},
isbn = {9781450337793},
year = {2015},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/2807442.2807473},
url = {https://doi.org/10.1145/2807442.2807473},
abstract = {Web developers often want to repurpose interactive behaviors from third-party web pages, but struggle to locate the specific source code that implements the behavior. This task is challenging because developers must find and connect all of the non-local interactions between event-based JavaScript code, declarative CSS styles, and web page content that combine to express the behavior. The Scry tool embodies a new approach to locating the code that implements interactive behaviors. A developer selects a page element; whenever the element changes, Scry captures the rendering engine's inputs (DOM, CSS) and outputs (screenshot) for the element. For any two captured element states, Scry can compute how the states differ and which lines of JavaScript code were responsible. Using Scry, a developer can locate an interactive behavior's implementation by picking two output states; Scry indicates the JavaScript code directly responsible for their differences.}
}