[webkit-changes] [WebKit/WebKit] 1f07bd: rdar://89218473 ([ER] WebKitTestRunner and DumpRen...
mscottapple
noreply at github.com
Tue Sep 26 12:58:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1f07bde4413aea4d24324609b7ef02c5316eb988
https://github.com/WebKit/WebKit/commit/1f07bde4413aea4d24324609b7ef02c5316eb988
Author: Scott Marcy <mscott at apple.com>
Date: 2023-09-26 (Tue, 26 Sep 2023)
Changed paths:
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/268472@main
More information about the webkit-changes
mailing list