Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fix reset crash when replies are destroyed

We attempted to track in-progress replies and abort them in 1.5.1.
However, sometimes these replies are destroyed unexpectedly, so
attempting to abort them raises errors.

This commit tracks when replies are destroyed and removes them from the
queue of in-progress replies.
latest commit 79088c2282
@jferris jferris authored
..
Failed to load latest commit information.
AcceptAlert.cpp Implement modal (confirm, prompt and alert) API
AcceptAlert.h Implement modal (confirm, prompt and alert) API
AllowUrl.cpp Introduce allowed, blocked URL filters
AllowUrl.h Introduce allowed, blocked URL filters
Authenticate.cpp Allow multiple basic auths in one session
Authenticate.h Split Command into more abstract Command and concrete SocketCommand
BlacklistedRequestHandler.cpp Reset allowed/blocked URLs between specs
BlacklistedRequestHandler.h
BlockUrl.cpp Introduce allowed, blocked URL filters
BlockUrl.h Introduce allowed, blocked URL filters
Body.h Split Command into more abstract Command and concrete SocketCommand
ClearCookies.cpp Rename Command::emitFinished to finish
ClearCookies.h Split Command into more abstract Command and concrete SocketCommand
ClearPromptText.cpp Rename Command::emitFinished to finish
ClearPromptText.h Control JavaScript confirmation dialogs from Ruby
Command.cpp Rename Command::emitFinished to finish
Command.h Rename Command::emitFinished to finish
CommandFactory.cpp Introduce allowed, blocked URL filters
CommandFactory.h Pass the WebPageManager to each command
CommandParser.cpp Replace QString::toAscii with QString::toLatin1
CommandParser.h CommandParser accepts a CommandFactory and emits a Command
Connection.cpp Delete pending commands on reset
Connection.h Delete pending commands on reset
ConsoleMessages.cpp Rename Command::emitFinished to finish
ConsoleMessages.h Split Command into more abstract Command and concrete SocketCommand
CurrentUrl.cpp Rename Command::emitFinished to finish
CurrentUrl.h Remove Qt 4.7 compatibility code from CurrentUrl
CustomHeadersRequestHandler.cpp Extract handle classes from NetworkAccessManager
CustomHeadersRequestHandler.h Extract handle classes from NetworkAccessManager
EnableLogging.cpp Rename Command::emitFinished to finish
EnableLogging.h Split Command into more abstract Command and concrete SocketCommand
ErrorMessage.cpp Instantiate errors in capybara-webkit
ErrorMessage.h Serialize errors as JSON
Evaluate.cpp Rename Command::emitFinished to finish
Evaluate.h Extract JSON serializer
Execute.cpp Rename Command::emitFinished to finish
Execute.h
FindCss.cpp Check node index atomically to prevent race condition
FindCss.h Remove duplication from Javascript error handling
FindModal.cpp Remove modal messages from modal message list
FindModal.h Remove modal messages from modal message list
FindXpath.cpp Check node index atomically to prevent race condition
FindXpath.h Rename Find command to FindXpath
FrameFocus.cpp Rename Command::emitFinished to finish
FrameFocus.h Split Command into more abstract Command and concrete SocketCommand
GetCookies.cpp
GetCookies.h Split Command into more abstract Command and concrete SocketCommand
GetTimeout.cpp Rename Command::emitFinished to finish
GetTimeout.h Revert "Revert "Add configurable timeouts to commands.""
GetWindowHandle.cpp Rename Command::emitFinished to finish
GetWindowHandle.h Split Command into more abstract Command and concrete SocketCommand
GetWindowHandles.cpp Rename Command::emitFinished to finish
GetWindowHandles.h Split Command into more abstract Command and concrete SocketCommand
GoBack.cpp Update for Capybara 2.3.0
GoBack.h Update for Capybara 2.3.0
GoForward.cpp Update for Capybara 2.3.0
GoForward.h Update for Capybara 2.3.0
Header.cpp Extract handle classes from NetworkAccessManager
Header.h Split Command into more abstract Command and concrete SocketCommand
Headers.cpp Allow response header value to contain a colon
Headers.h Split Command into more abstract Command and concrete SocketCommand
IgnoreDebugOutput.cpp Include stdio.h in IgnoreDebugOutput
IgnoreDebugOutput.h Rewrite qInstallMsgHandler test in C++
IgnoreSslErrors.cpp Rename Command::emitFinished to finish
IgnoreSslErrors.h Split Command into more abstract Command and concrete SocketCommand
InvocationResult.cpp
InvocationResult.h Serialize errors as JSON
JavascriptAlertMessages.cpp Rename Command::emitFinished to finish
JavascriptAlertMessages.h Control JavaScript confirmation dialogs from Ruby
JavascriptCommand.cpp Remove return from JavascriptCommand finish
JavascriptCommand.h Remove duplication from Javascript error handling
JavascriptConfirmMessages.cpp Rename Command::emitFinished to finish
JavascriptConfirmMessages.h Control JavaScript confirmation dialogs from Ruby
JavascriptInvocation.cpp Check node index atomically to prevent race condition
JavascriptInvocation.h Check node index atomically to prevent race condition
JavascriptPromptMessages.cpp Rename Command::emitFinished to finish
JavascriptPromptMessages.h Control JavaScript confirmation dialogs from Ruby
JsonSerializer.cpp Infinity returns null when serialized
JsonSerializer.h
MissingContentHeaderRequestHandler.cpp Extract handle classes from NetworkAccessManager
MissingContentHeaderRequestHandler.h Extract handle classes from NetworkAccessManager
NetworkAccessManager.cpp Extract handle classes from NetworkAccessManager
NetworkAccessManager.h Extract handle classes from NetworkAccessManager
NetworkCookieJar.cpp adds cookie management functions to Webkit::Browser
NetworkCookieJar.h adds cookie management functions to Webkit::Browser
NetworkReplyProxy.cpp Driver#html returns raw data for non-HTML content
NetworkReplyProxy.h Driver#html returns raw data for non-HTML content
NetworkRequestFactory.cpp Extract handle classes from NetworkAccessManager
NetworkRequestFactory.h Extract handle classes from NetworkAccessManager
NoOpReply.cpp Extract handle classes from NetworkAccessManager
NoOpReply.h Extract handle classes from NetworkAccessManager
Node.cpp Check node index atomically to prevent race condition
Node.h Remove duplication from Javascript error handling
NullCommand.cpp Rename Command::emitFinished to finish
NullCommand.h Split Command into more abstract Command and concrete SocketCommand
PageLoadingCommand.cpp Rename Command::emitFinished to finish
PageLoadingCommand.h PageLoadingCommand implements the Command interface
Render.cpp Better failure when screenshot doesn't save
Render.h Split Command into more abstract Command and concrete SocketCommand
RequestHandler.cpp Extract handle classes from NetworkAccessManager
RequestHandler.h Extract handle classes from NetworkAccessManager
Reset.cpp Update for Capybara 2.3.0
Reset.h Split Command into more abstract Command and concrete SocketCommand
Response.cpp Serialize errors as JSON
Response.h Serialize errors as JSON
Server.cpp Warn when using Qt 4
Server.h WebPageManager is no longer a singleton
SetConfirmAction.cpp Implement modal (confirm, prompt and alert) API
SetConfirmAction.h
SetCookie.cpp Replace QString::toAscii with QString::toLatin1
SetCookie.h Split Command into more abstract Command and concrete SocketCommand
SetPromptAction.cpp Implement modal (confirm, prompt and alert) API
SetPromptAction.h Control JavaScript confirmation dialogs from Ruby
SetPromptText.cpp Rename Command::emitFinished to finish
SetPromptText.h Control JavaScript confirmation dialogs from Ruby
SetProxy.cpp Share the NetworkAccessManager across WebPages
SetProxy.h Split Command into more abstract Command and concrete SocketCommand
SetSkipImageLoading.cpp Rename Command::emitFinished to finish
SetSkipImageLoading.h Split Command into more abstract Command and concrete SocketCommand
SetTimeout.cpp Rename Command::emitFinished to finish
SetTimeout.h Revert "Revert "Add configurable timeouts to commands.""
SetUnknownUrlMode.cpp Introduce allowed, blocked URL filters
SetUnknownUrlMode.h Introduce allowed, blocked URL filters
SetUrlBlacklist.cpp Extract handle classes from NetworkAccessManager
SetUrlBlacklist.h Extract handle classes from NetworkAccessManager
SocketCommand.cpp Update for Capybara 2.3.0
SocketCommand.h Update for Capybara 2.3.0
Status.cpp Rename Command::emitFinished to finish
Status.h Split Command into more abstract Command and concrete SocketCommand
StdinNotifier.cpp Include the code that we need
StdinNotifier.h Simplify shutdown logic for Connection
TimeoutCommand.cpp Instantiate errors in capybara-webkit
TimeoutCommand.h Don't redefine signal finished on TimeoutCommand
Title.cpp Implement Browser#title
Title.h Implement Browser#title
UnknownUrlHandler.cpp Do not consider data URIs unknown
UnknownUrlHandler.h Do not consider data URIs unknown
UnsupportedContentHandler.cpp Don't disconnect loadFinished in UnsupportedContentHandler
UnsupportedContentHandler.h Fix issues with Qt 4.8
Version.cpp Rename Command::emitFinished to finish
Version.h
Visit.cpp Attempt to visit URLs with invalid characters
Visit.h Split Command into more abstract Command and concrete SocketCommand
WebPage.cpp Make caching behavior more like Selenium
WebPage.h Allow response header value to contain a colon
WebPageManager.cpp Fix reset crash when replies are destroyed
WebPageManager.h Fix reset crash when replies are destroyed
WindowClose.cpp Update for Capybara 2.3.0
WindowClose.h Update for Capybara 2.3.0
WindowCommand.cpp Update for Capybara 2.3.0
WindowCommand.h Update for Capybara 2.3.0
WindowFocus.cpp Update for Capybara 2.3.0
WindowFocus.h Update for Capybara 2.3.0
WindowMaximize.cpp Make sure to include QDesktopWidget
WindowMaximize.h Update for Capybara 2.3.0
WindowOpen.cpp Update for Capybara 2.3.0
WindowOpen.h Update for Capybara 2.3.0
WindowResize.cpp Update for Capybara 2.3.0
WindowResize.h Update for Capybara 2.3.0
WindowSize.cpp Update for Capybara 2.3.0
WindowSize.h Update for Capybara 2.3.0
body.cpp Don't cast raw frame content to QString
capybara.js Fix for missing select events
find_command.h Introduce allowed, blocked URL filters
main.cpp Simplify shutdown logic for Connection
pointer.png Render a mouse pointer when saving screenshots
stable.h Precompile headers
webkit_server.pro Introduce allowed, blocked URL filters
webkit_server.qrc Render a mouse pointer when saving screenshots
Something went wrong with that request. Please try again.