A runtime state of a web application running on a first device is serialized and transferred to a second device. The serialized runtime state is loaded into a browser on the second device to establish a connection between the second device and the web application.