Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Automation: add ObjC SPI to set whether a page is controlled by a…
…utomation https://bugs.webkit.org/show_bug.cgi?id=165001 <rdar://problem/29350432> Reviewed by Dan Bernstein. Add SPI property to WKWebViewConfiguration and plumb it through to initialize WebPageProxy::m_controlledByAutomation. This is propagated to the WebProcess on creation via WebPageCreationParameters. * UIProcess/API/APIPageConfiguration.cpp: (API::PageConfiguration::copy): * UIProcess/API/APIPageConfiguration.h: (API::PageConfiguration::isControlledByAutomation): (API::PageConfiguration::setControlledByAutomation): * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): * UIProcess/API/Cocoa/WKWebViewConfiguration.mm: (-[WKWebViewConfiguration init]): (-[WKWebViewConfiguration copyWithZone:]): (-[WKWebViewConfiguration _isControlledByAutomation]): (-[WKWebViewConfiguration _setControlledByAutomation:]): * UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::WebPageProxy): Canonical link: https://commits.webkit.org/182757@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
50 additions
and 2 deletions.
- +28 −0 Source/WebKit2/ChangeLog
- +2 −1 Source/WebKit2/UIProcess/API/APIPageConfiguration.cpp
- +5 −1 Source/WebKit2/UIProcess/API/APIPageConfiguration.h
- +1 −0 Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
- +12 −0 Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm
- +1 −0 Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h
- +1 −0 Source/WebKit2/UIProcess/WebPageProxy.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters