Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 31de97a9dff67e49e76d50adaafc58dd663f6ddf
https://github.com/WebKit/WebKit/commit/31de97a9dff67e49e76d50adaafc58dd663f6ddf
Author: Ryan Reno <[email protected]>
Date: 2022-11-02 (Wed, 02 Nov 2022)
Changed paths:
M Tools/MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.m
Log Message:
-----------
MobileMiniBrowser should accept the '--url' command line argument
https://bugs.webkit.org/show_bug.cgi?id=247378
rdar://101878523
Reviewed by Simon Fraser.
This adds support for parsing and acting upon a --url command line arg.
With this patch you would need to edit the scheme in Xcode and pass something
like:
--url https://www.apple.com
to get MobileMiniBrowser to navigate to a specific URL on launch. This is a
first step
toward adding support to run-minibrowser so you could launch
(Mobile)MiniBrowser like:
run-minibrowser --iphone-simulator --url https://www.apple.com
* Tools/MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.m:
(-[WebViewController viewDidLoad]):
(-[WebViewController addProtocolIfNecessary:]):
(-[WebViewController targetURLorDefaultURL]):
Canonical link: https://commits.webkit.org/256252@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes