1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
Commit graph

6 commits

Author SHA1 Message Date
Matthew Horan
6c72a99174 Serialize errors as JSON 2013-02-11 00:04:35 -05:00
Sean Geoghegan
77811ca9ba Fix memory leak of response.
Turns Response into a QObject and sets parent to the
command that emits it.

Each Command is also a child of the decorator commands,
Timeout and PageLoading commnds, so that deleting the
top level command will delete all the children.

See discussion in #430.
2012-12-14 01:46:54 -05:00
Joe Ferris
cae5119eef Fix issues with Qt 4.8 2012-10-23 21:00:50 -04:00
Dan Ivovich
1ef8f4c844 Store response messages as QByteArray
This prevents conversion of QByteArray to QString from truncating content at a null byte in the QByteArray. This truncation can be a problem if the response body is a binary object (e.g. PDF)

Fixes #322
2012-04-17 12:06:12 -04:00
Joe Ferris
0bc2a6b54f Fixed the overloaded Response constructor 2011-05-05 19:13:43 -04:00
Joe Ferris
cc74875e4b Created a Response object for the success/message pair 2011-05-05 17:55:40 -04:00