angular/protractor — pull request #1411 by juliemr (2014-10-07 21:32:22+00:00)
Title: feat(debugging): use custom messages when executing scripts to improve s...

...tack traces

Now, instead of asynchronous events during executeScript all being described as
`WebDriver.executeScript`, they have their own custom messages. The schedule
shown when debugging will be more informative, as in the example below:

```
-- WebDriver control flow schedule
|- waiting for debugger to attach
|--- at null. (/Users/ralphj/protractor/debugging/failure_spec.js:37:13)
|- WebDriver.navigate().to(data:text/html,)
|--- at null. (/Users/ralphj/protractor/debugging/failure_spec.js:38:13)
|- Protractor.get(http://localhost:8081/index.html#/form) - reset url
|--- at null. (/Users/ralphj/protractor/debugging/failure_spec.js:38:13)
|- Timed out waiting for page to load after 10000ms
|--- at null. (/Users/ralphj/protractor/debugging/failure_spec.js:38:13)
|- Protractor.get(http://localhost:8081/index.html#/form) - test for angular
|--- at null. (/Users/ralphj/protractor/debugging/failure_spec.js:38:13)
|- Protractor.get(http://localhost:8081/index.html#/form) - add mock module
|--- at null. (/Users/ralphj/protractor/debugging/failure_spec.js:38:13)
|- Protractor.get(http://localhost:8081/index.html#/form) - resume bootstrap
|--- at null. (/Users/ralphj/protractor/debugging/failure_spec.js:38:13)
|- Protractor.waitForAngular()
|--- at null. (/Users/ralphj/protractor/debugging/failure_spec.js:42:21)
```