[webkit-dev] WKWebView Inspector in my own app

2014-08-11 Thread Koen Bok
I am looking how to show the inspector in my own mac desktop app with WKWebViews. I think I need to initialize an XPC or http connection to a WKWebView and pass it to a new inspector instance, and then show it. Can anyone maybe point me in the right direction? PS. I also made a Stack Overflow

Re: [webkit-dev] WKWebView Inspector in my own app

2014-08-11 Thread Joseph Pecoraro
On Aug 11, 2014, at 3:23 AM, Koen Bok k...@madebysofa.com wrote: I am looking how to show the inspector in my own mac desktop app with WKWebViews. You are correct that currently the only supported way to inspect a WKWebView is through Safari with an entitlement in your app (see the WWDC

Re: [webkit-dev] WKWebView Inspector in my own app

2014-08-11 Thread Joseph Pecoraro
On Aug 11, 2014, at 12:10 PM, Joseph Pecoraro pecor...@apple.com wrote: On Aug 11, 2014, at 3:23 AM, Koen Bok k...@madebysofa.com mailto:k...@madebysofa.com wrote: I am looking how to show the inspector in my own mac desktop app with WKWebViews. You are correct that currently the

Re: [webkit-dev] WKWebView Inspector in my own app

2014-08-11 Thread Koen Bok
This is great! Thank you very very much. On Monday, August 11, 2014, Joseph Pecoraro pecor...@apple.com wrote: On Aug 11, 2014, at 12:10 PM, Joseph Pecoraro pecor...@apple.com javascript:_e(%7B%7D,'cvml','pecor...@apple.com'); wrote: On Aug 11, 2014, at 3:23 AM, Koen Bok

[webkit-dev] How do I find a WebView's desired size?

2014-08-11 Thread Daryle Walker
This is for implementing the windowWillUseStandardFrame:defaultFrame: method on OS X, which enables the green button to do an optimized zoom. How can I find out what height and width a WebView wants to be if it had infinite screen space? If it negotiates the size instead, assume that the