1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
Commit graph

13 commits

Author SHA1 Message Date
Jon Leighton
a40c57babd switch to multi_json for jruby compat 2012-03-11 10:56:19 +00:00
Jon Leighton
a67f81437e Node references must include the page id as well. Fixes #39. 2012-03-10 13:51:59 +00:00
Jon Leighton
0b9d286e3f Propagate Javascript errors on the page to Ruby. Fixes #27. 2012-02-29 20:38:01 +00:00
Jon Leighton
84feb34e16 refactoring 2012-02-29 12:32:13 +00:00
Jon Leighton
8bd4a625d1 remove dead code (method is redefined further down) 2012-02-29 11:51:27 +00:00
Jon Leighton
91d6198523 Experimental remote debugger support. 2012-02-25 12:47:18 +00:00
Jon Leighton
3810618ea0 Check PhantomJS version from Ruby. Fixes #13. 2012-01-27 17:31:21 +00:00
Jon Leighton
9f4192e7bb Increase default timeout to 30 2012-01-13 14:42:34 +00:00
Jon Leighton
34af795960 Stop using EventMachine for WebSocket server.
Using EventMachine was causing issues when run alongside Thin.

In general running the event loop is quite slow, presumably because it
is mostly spinning idly wasting cycles (unsure). We were mitigating
this by stopping the thread when it wasn't needed, but this is
incorrect when Thin is also running.

Implemented WebSocket server using raw TCP sockets and a WebSocket
parser provided by faye-websocket. This is faster and neater and removes
the need to dick around with threads.

Fixes #6.
2012-01-13 14:34:36 +00:00
Jon Leighton
fb497cb328 Add support for choosing between rendering the whole page or just part of it. 2011-10-31 23:04:02 +00:00
Jon Leighton
b18225d716 Add a resize command to allow users to resize the browser window 2011-10-31 22:23:52 +00:00
Jon Leighton
c5a964c9a8 Detect if the phantomjs client has died, raise an error, and restart it. 2011-10-30 22:48:56 +00:00
Jon Leighton
76fe32debd omg 2011-10-27 23:34:14 +01:00