ariya/phantomjs — pull request #12822 by jakozaur (2014-12-12 04:50:18+00:00)
Title: Port more tests and fix passing date

Continue porting tests out of webpage-spec.

We don't have support for async, added `waitFor` to asserts.

While porting tests for `page.evaluate` realized that passing `Date` as argument is broken (and was in that state even before my previous change). The root cause is that `JSON.stringify(someDate)` returns string. So type information is lost. Fixed that in separate commit.