[Mono-osx] WebView WindowScriptObject

Maxi Combina maxi.combina at passwordbank.com
Fri Feb 25 11:15:33 EST 2011


2011/2/25 Geoff Norton <gnorton at novell.com>

> It appears we dont have the WebScripting protocol bound as a [Model] yet:
>
>
> http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/WebKit/Protocols/WebScripting_Protocol/Reference/Reference.html
>
>
> <http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/WebKit/Protocols/WebScripting_Protocol/Reference/Reference.html>If
> we did you would want to have your NativeMessageReceiver inherit from
> WebScripting and override the methods.
>
> Would you like to submit a patch to the webkit bindings that does this?
>

IIRC, Miguel told me that this binding is left explicitly out.


>
> In the mean time you can use
>
> [Export ("isSelectorExcludedFromWebScript:")]
> static bool IsSelectorExcluded (Selector s) {
>   return false;
> }
>

And also told me to use this method.

Cheers,

-- 
*Maxi Combina*
Tel: +34 902 760 111
C/ Constitucio, 3 Sant Just Desvern 08960 (Barcelona), SPAIN
www.passwordbank.com

This message and its attachments are sent from PasswordBank, Inc. and may
contain information that is
confidential. If you are not the intended recipient, you are prohibited from
printing, copying, forwarding or
saving them. Please delete the message and attachments without printing,
copying, forwarding or saving
them, and notify the sender immediately. Message transmission is not
guaranteed to be secure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110225/9ce9a0f6/attachment.html 


More information about the Mono-osx mailing list