在 2015年6月24日星期三 UTC+8下午7:38:01,Philipp Kewisch写道:
> On 6/24/15 1:10 PM, Yonggang Luo wrote:
> > For example.
> > custom-protocol://some-uri-path/test.html
> > 
> > I want the test.html works like
> > 
> > http://some-web-site/test.html
> > That I can navigate in the html page.
> > 
> Check out nsIProtocolHandler
> 
> Here is an implementation that directly forwards to http(s):
> 
> http://mxr.mozilla.org/comm-central/source/calendar/base/src/calProtocolHandler.js
> 
> Philipp

This is forwards to https, but I am forwards to resource://
That's really different.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to