WebDataSource::response can legitimately have a null response, so we
must check that case.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
(queueLoadCallback):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25213
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-08-24 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by John H.
+
+ WebDataSource::response can legitimately have a null response, so we
+ must check that case.
+
+ * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
+ (queueLoadCallback):
+
2007-08-23 Mitz Pettel <mitz@webkit.org>
Reviewed by Darin and Adam.
return undefined;
COMPtr<IWebURLResponse> response;
- if (FAILED(dataSource->response(&response)))
+ if (FAILED(dataSource->response(&response)) || !response)
return undefined;
BSTR responseURLBSTR;