RESOLVED FIXED 165001
Web Automation: add ObjC SPI to set whether a page is controlled by automation
https://bugs.webkit.org/show_bug.cgi?id=165001
Summary Web Automation: add ObjC SPI to set whether a page is controlled by automation
Blaze Burg
Reported 2016-11-20 20:03:11 PST
This exists in the WebKit C API. It should be in the ObjC API too. Add it as a private flag on WKWebViewConfiguration and propagate to the existing plumbing in WebPageProxy/WebPageCreationParameters.
Attachments
Proposed Fix (8.61 KB, patch)
2016-11-21 14:35 PST, Blaze Burg
mitz: review+
Blaze Burg
Comment 1 2016-11-20 20:31:40 PST
Blaze Burg
Comment 2 2016-11-21 14:35:04 PST
Created attachment 295312 [details] Proposed Fix
mitz
Comment 3 2016-11-28 11:19:46 PST
Comment on attachment 295312 [details] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=295312&action=review > Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:181 > + _controlledByAutomation = NO; I know that there are many precedents in this file, but there’s no need to initialize instance variables to 0, NO, nil etc.
Blaze Burg
Comment 4 2016-11-29 06:03:31 PST
Radar WebKit Bug Importer
Comment 5 2022-03-01 02:40:08 PST
Note You need to log in before you can comment on or make changes to this bug.