Marco, #1: Because we want to compatible Firefly with Chromecast 2.0, so we must disable certificate chain, it is by design.
#2: We think Mozilla team will write a fling URL plug-in for Firefox Browser, we are working on the sample code. But due to protobuf is not supported in Firefox, it is a blocker now. BRs, Vincent 发件人: Marco Chen <mc...@mozilla.com<mailto:mc...@mozilla.com>> 日期: 2014年6月4日星期三 下午11:06 至: Vincent Ying <ying.j...@21vianet.com<mailto:ying.j...@21vianet.com>> 抄送: Shih-Chiang Chien <sch...@mozilla.com<mailto:sch...@mozilla.com>>, Evelyn Hung <eh...@mozilla.com<mailto:eh...@mozilla.com>>, Tzu-Lin Huang <tzhu...@mozilla.com<mailto:tzhu...@mozilla.com>>, James Seng <james.s...@gmail.com<mailto:james.s...@gmail.com>>, Bradford Lassey <blas...@mozilla.com<mailto:blas...@mozilla.com>>, "jian...@infthink.com<mailto:jian...@infthink.com>" <jian...@infthink.com<mailto:jian...@infthink.com>>, 李丕 <li...@21vianet.com<mailto:li...@21vianet.com>>, Joe Cheng <jch...@mozilla.com<mailto:jch...@mozilla.com>> 主题: Re: Fling URL sample code Hi Ying, > 1. Is there any option to disable certificate chain checking ? Now we know why you need TLS socket and thanks for the update. But as S.C. mentioned, why do you disable certificate chain since you need "TLS" socket? Could you share the intent? > 2. We are going to use google protobuf under Jetpack SDK, is there some > javascript implementation ? Do you try to write add-on for FxOS? I don't think FxOS supported add-on/plug-in. By the way, Do you mind to send your questions into dev-b2g mail list (dev-b2g@lists.mozilla.org<mailto:dev-b2g@lists.mozilla.org>) and put mail list here into CC? The benefit is that you can get more help from dev-b2g. For confidential questions, it is still welcome to ask here. Thanks, Sincerely yours. ________________________________ 寄件者: "ying jian" <ying.j...@21vianet.com<mailto:ying.j...@21vianet.com>> 收件者: "Shih-Chiang Chien" <sch...@mozilla.com<mailto:sch...@mozilla.com>>, "Marco Chen" <mc...@mozilla.com<mailto:mc...@mozilla.com>> 副本: "Evelyn Hung" <eh...@mozilla.com<mailto:eh...@mozilla.com>>, "Tzu-Lin Huang" <tzhu...@mozilla.com<mailto:tzhu...@mozilla.com>>, "James Seng" <james.s...@gmail.com<mailto:james.s...@gmail.com>>, "Bradford Lassey" <blas...@mozilla.com<mailto:blas...@mozilla.com>>, jian...@infthink.com<mailto:jian...@infthink.com>, "李丕" <li...@21vianet.com<mailto:li...@21vianet.com>>, "Joe Cheng" <jch...@mozilla.com<mailto:jch...@mozilla.com>> 寄件備份: 2014 6 月 4 星期三 下午 3:44:43 主旨: Re: Fling URL sample code S.C., Our current solution is compatible with GOOGLE Chromecast SDK2.0,we need support these 2 function. If they cannot be supported in current Firefox, possibly we need consider to replace TLS Socket with raw TCPSocket, and replace protobuf with Json. BRs, Vincent 发件人: Shih-Chiang Chien <sch...@mozilla.com<mailto:sch...@mozilla.com>> 日期: 2014年6月3日星期二 下午7:09 至: Marco Chen <mc...@mozilla.com<mailto:mc...@mozilla.com>> 抄送: Vincent Ying <ying.j...@21vianet.com<mailto:ying.j...@21vianet.com>>, Evelyn Hung <eh...@mozilla.com<mailto:eh...@mozilla.com>>, Tzu-Lin Huang <tzhu...@mozilla.com<mailto:tzhu...@mozilla.com>>, James Seng <james.s...@gmail.com<mailto:james.s...@gmail.com>>, Bradford Lassey <blas...@mozilla.com<mailto:blas...@mozilla.com>>, <jian...@infthink.com<mailto:jian...@infthink.com>>, 李丕 <li...@21vianet.com<mailto:li...@21vianet.com>>, Joe Cheng <jch...@mozilla.com<mailto:jch...@mozilla.com>> 主题: Re: Fling URL sample code Hi Jiang, A quick answer is no. May I know why you need this functionality? It seems wrong to me trying to setup a security channel with security check disabled. Best Regards, Shih-Chiang Chien Mozilla Taiwan On Jun 3, 2014, at 7:07 PM, Marco Chen <mc...@mozilla.com<mailto:mc...@mozilla.com>> wrote: Hi S.C., Could you help to answer partner's first question about socket? Thanks, Sincerely yours. ________________________________ From: "Joe Cheng" <jch...@mozilla.com<mailto:jch...@mozilla.com>> To: "ying jian" <ying.j...@21vianet.com<mailto:ying.j...@21vianet.com>>, "Marco Chen" <mc...@mozilla.com<mailto:mc...@mozilla.com>>, "Evelyn Hung" <eh...@mozilla.com<mailto:eh...@mozilla.com>>, "Tzu-Lin Huang" <tzhu...@mozilla.com<mailto:tzhu...@mozilla.com>> Cc: "James Seng" <james.s...@gmail.com<mailto:james.s...@gmail.com>>, "Bradford Lassey" <blas...@mozilla.com<mailto:blas...@mozilla.com>>, jian...@infthink.com<mailto:jian...@infthink.com>, "李丕" <li...@21vianet.com<mailto:li...@21vianet.com>>, "Joe Cheng" <jch...@mozilla.com<mailto:jch...@mozilla.com>> Sent: Saturday, May 31, 2014 2:07:58 AM Subject: Re: Fling URL sample code Hi Vincent, Let me add Marco/Evelyn/Tzu-lin. Thanks Re, Joe Cheng —————————— Mozilla Corp. jch...@mozilla.com<mailto:jch...@mozilla.com> ----- Original Message ----- From: "ying jian" <ying.j...@21vianet.com<mailto:ying.j...@21vianet.com>> To: "Joe Cheng" <jch...@mozilla.com<mailto:jch...@mozilla.com>> Cc: "James Seng" <james.s...@gmail.com<mailto:james.s...@gmail.com>>, "Bradford Lassey" <blas...@mozilla.com<mailto:blas...@mozilla.com>>, jian...@infthink.com<mailto:jian...@infthink.com>, "李丕" <li...@21vianet.com<mailto:li...@21vianet.com>> Sent: Friday, May 30, 2014 8:06:35 AM Subject: Fling URL sample code Hi, Joe. Jiang Lu is working on a ‘Fling URL' sample, but there are still some problems to be solved. We can use this mail loop to discuss the specific topic, please kindly add related Mozilla people into loop. 1. Is there any option to disable certificate chain checking ? let baseSocket = Cc["@mozilla.org/tcp-socket;1<http://mozilla.org/tcp-socket;1>"].createInstance(Ci.nsIDOMTCPSocket); this.asyncSocket = baseSocket.open(ipAddress, servicePort, { useSecureTransport: true, binaryType: 'arraybuffer', /* Any option to disable certificate chain checking ? */ }); 2. We are going to use google protobuf under Jetpack SDK, is there some javascript implementation ? Thanks, Vincent
_______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g