thoughtbot/capybara-webkit — pull request #328 by joshuanapoli (2012-04-26 23:11:41+00:00)
Title: page succeeds only when all loadFinished signals succeed

Every time a page loads an iframe through a callback (such as setTimeout), QWebPage will emit a loadFinished signal. I think that m_pageSuccess should indicate whether all loadFinished signals were successful, rather than simply indicating the final signal (previous behavior was to overwrite m_pageSuccess on each signal). This allows us to reliably detect iframe failures in capybara/cucumber tests and avoids intermittent failures.