Add bundle SPI to call WebPage::setTopContentInset
Created attachment 396442 [details] Patch
<rdar://problem/61781406>
Comment on attachment 396442 [details] Patch Please explain how this interacts with WebViewImpl::updateContentInsetsIfAutomatic() - m_automaticallyAdjustsContentInsets is on by default in WKWebView. That's called from WebViewImpl::renewGStateI(), which is called whenever AppKit jiggles the view hierarchy, which is a lot.
When this is called we could also send a message to the WebPageProxy to update it. Would that resolve your concerns?
What does it /mean/, though? Does automaticallyAdjustsContentInsets become NO, too? It's all very weird. But definitely the UIProcess needs to know when it changes, yes.