Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b3b218402da7205aec197cdc863e9d3f63fc3b95
https://github.com/WebKit/WebKit/commit/b3b218402da7205aec197cdc863e9d3f63fc3b95
Author: Scott Marcy <[email protected]>
Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths:
M Tools/DumpRenderTree/DumpRenderTree.h
M Tools/DumpRenderTree/mac/DumpRenderTree.mm
M Tools/DumpRenderTree/mac/ResourceLoadDelegate.h
M Tools/DumpRenderTree/mac/ResourceLoadDelegate.mm
M Tools/WebKitTestRunner/TestController.cpp
M Tools/WebKitTestRunner/TestController.h
Log Message:
-----------
rdar://89218473 ([ER] WebKitTestRunner and DumpRenderTree should let the user
know if loading a file or a url failed)
Reviewed by David Kilzer (ddkilzer).
This adds preflight checking for the existence of input files specified on the
command line, as well as reporting of any URL loading errors.
* Tools/DumpRenderTree/mac/DumpRenderTree.mm:
(initializeGlobalsFromCommandLineOptions):
(runTest):
* Tools/DumpRenderTree/mac/ResourceLoadDelegate.h:
* Tools/DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate dealloc]):
(-[ResourceLoadDelegate
webView:resource:didFailLoadingWithError:fromDataSource:]):
* Tools/WebKitTestRunner/TestController.cpp:
(WTR::TestController::createOtherPlatformWebView):
(WTR::TestController::createWebViewWithOptions):
(WTR::TestController::createTestURL):
(WTR::TestController::runTest):
(WTR::TestController::didFailProvisionalNavigation):
(WTR::pathSuitableForTestResult):
* Tools/WebKitTestRunner/TestController.h:
Canonical link: https://commits.webkit.org/268687@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes