burg/timelapse — pull request #130 by rjbailey (2013-01-29 02:49:06+00:00)
Title: Wrap known nondeterministic DOM APIs with code that triggers non-fatal warning.

Addresses #109.

The warnings cover these bindings:

* `document.referrer`
* `window.applicationCache`
* `window.clientInformation`
* `window.history`
* `window.innerHeight`
* `window.innerWidth`
* `window.localStorage`
* `window.navigator`
* `window.outerHeight`
* `window.outerWidth`
* `window.performance`
* `window.screen`

The `window.performance` binding appears to do nothing in vanilla Safari as well as our build--I assume because it is typically built without `ENABLE_WEB_TIMING`?

The warnings don't cover `window.alert()`, `window.confirm()`, `window.find()`, and `window.print()`. I think it should be possible to cover functions similarly to attributes, though. I'll look into it more later this week.