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
This should prevent state leakage between test cases.
Allow users to resize the webkit viewport via Capybara::Driver::Webkit#resize_window(width, height). This can be called before or after page load, and fires resize events as expected.
reuse the existing manager and just clear its headers and cookies. This avoids repeatedly setting up the SIGNAL/SLOT callback stuff which is leading to unclosed pipes on Ubuntu, eventually causing "too many open files" errors in large test suites.
…ntly. Changes are based on the documentation provided here: http://rubydoc.info/gems/rspec-expectations/RSpec/Matchers
…and and name/arguments
The input event is like onchange, but on text fields, it is fired as soon as the value of the field changes, not when the field is blurred. It is a more appropriate event than 'keydown' or 'keyup', which behave unpredictably with paste events, held-down keys, etc. Support is a little problematic, but it is supported well by Webkit and Firefox, so it seems useful to add here.
…to the world, and it pops up firewall warnings if you have an app aware firewall enabled (e.g. OSX firewall).