Index: Source/web/tests/sim/SimRequest.cpp |
diff --git a/Source/web/tests/sim/SimRequest.cpp b/Source/web/tests/sim/SimRequest.cpp |
index 84e11e74d1cca77e6596af32c8f1848bb3ae095b..228853340ad41460eb3a86301274e71c789c48f7 100644 |
--- a/Source/web/tests/sim/SimRequest.cpp |
+++ b/Source/web/tests/sim/SimRequest.cpp |
@@ -28,6 +28,11 @@ SimRequest::SimRequest(String url, String mimeType) |
SimNetwork::current().addRequest(*this); |
} |
+SimRequest::~SimRequest() |
+{ |
+ ASSERT(!m_isReady); |
+} |
+ |
void SimRequest::didReceiveResponse(WebURLLoaderClient* client, WebURLLoader* loader, const WebURLResponse& response) |
{ |
m_client = client; |