an npapi plugin on a web page, it registers a protocol handler 

> On Apr 11, 2015, at 2:26 AM, Mike Abdullah <mabdul...@karelia.com> wrote:
> 
> 
>> On 11 Apr 2015, at 02:28, Dan S <danc...@rebelbase.com> wrote:
>> 
>> Is behavior of NSURLProtocol changed with Safari 5.1?
>> 
>> I have a plugin that registeres a protocol handler xyz://  for example
> 
> Could clarify what exactly you mean by “plugin” here?
>> 
>> It succeeds and I can see all the requests to files on web pages being
>> consulted with the object via
>> +(BOOL) canInitWithRequest:(NSUrlRequest):
>> 
>> With Safari 5.0 I would get consulted on all schemas (of cource it would
>> only return YES for the xyz://)  but with Safari 5.1.10 the only
>> consultation I get (canInitWithRequest) are with the webpage schema
>> (https://) and never see any calls asking about xyz:// protocol
>> 
>> 
>> What can I do to get it to work in Safari 5.1.10?
>> 
>> On PC for example, when registering custom protocol I actually have to
>> specify that it is secure and ok to be invoked when running from HTTPS,  I
>> did not see anything like that on OSX, is that the problem and if so is
>> there a fix for it?
>> 
>> Thank you
>> _______________________________________________
>> 
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>> 
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>> 
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/cocoa-dev/mabdullah%40karelia.com
>> 
>> This email sent to mabdul...@karelia.com
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to