zerovm/swift-browser — pull request #70 by mgeisler (2014-09-26 08:36:25+00:00)
Title: Push swift simulator code into client-side script

This moves the code from the test side (protractor) into a script that is loaded by the client. The advantage is that we send less code as string over the wire: before we sent the string representation of the `setContainers`, `setObjects` etc functions over the wire.

We now send smaller pieces of code and this code calls functions declared in a `swift-simulator.js` file. This means that you can set breakpoints in this code in a paused test.