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 <[email protected]<mailto:[email protected]>>
日期: 2014年6月4日星期三 下午11:06
至: Vincent Ying <[email protected]<mailto:[email protected]>>
抄送: Shih-Chiang Chien <[email protected]<mailto:[email protected]>>, Evelyn 
Hung <[email protected]<mailto:[email protected]>>, Tzu-Lin Huang 
<[email protected]<mailto:[email protected]>>, James Seng 
<[email protected]<mailto:[email protected]>>, Bradford Lassey 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 李丕 
<[email protected]<mailto:[email protected]>>, Joe Cheng 
<[email protected]<mailto:[email protected]>>
主题: 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 
([email protected]<mailto:[email protected]>) 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" <[email protected]<mailto:[email protected]>>
收件者: "Shih-Chiang Chien" <[email protected]<mailto:[email protected]>>, 
"Marco Chen" <[email protected]<mailto:[email protected]>>
副本: "Evelyn Hung" <[email protected]<mailto:[email protected]>>, "Tzu-Lin 
Huang" <[email protected]<mailto:[email protected]>>, "James Seng" 
<[email protected]<mailto:[email protected]>>, "Bradford Lassey" 
<[email protected]<mailto:[email protected]>>, 
[email protected]<mailto:[email protected]>, "李丕" 
<[email protected]<mailto:[email protected]>>, "Joe Cheng" 
<[email protected]<mailto:[email protected]>>
寄件備份: 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 <[email protected]<mailto:[email protected]>>
日期: 2014年6月3日星期二 下午7:09
至: Marco Chen <[email protected]<mailto:[email protected]>>
抄送: Vincent Ying <[email protected]<mailto:[email protected]>>, 
Evelyn Hung <[email protected]<mailto:[email protected]>>, Tzu-Lin Huang 
<[email protected]<mailto:[email protected]>>, James Seng 
<[email protected]<mailto:[email protected]>>, Bradford Lassey 
<[email protected]<mailto:[email protected]>>, 
<[email protected]<mailto:[email protected]>>, 李丕 
<[email protected]<mailto:[email protected]>>, Joe Cheng 
<[email protected]<mailto:[email protected]>>
主题: 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 
<[email protected]<mailto:[email protected]>> wrote:

Hi S.C.,

Could you help to answer partner's first question about socket?

Thanks,
Sincerely yours.

________________________________
From: "Joe Cheng" <[email protected]<mailto:[email protected]>>
To: "ying jian" <[email protected]<mailto:[email protected]>>, "Marco 
Chen" <[email protected]<mailto:[email protected]>>, "Evelyn Hung" 
<[email protected]<mailto:[email protected]>>, "Tzu-Lin Huang" 
<[email protected]<mailto:[email protected]>>
Cc: "James Seng" <[email protected]<mailto:[email protected]>>, "Bradford 
Lassey" <[email protected]<mailto:[email protected]>>, 
[email protected]<mailto:[email protected]>, "李丕" 
<[email protected]<mailto:[email protected]>>, "Joe Cheng" 
<[email protected]<mailto:[email protected]>>
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.
[email protected]<mailto:[email protected]>


----- Original Message -----
From: "ying jian" <[email protected]<mailto:[email protected]>>
To: "Joe Cheng" <[email protected]<mailto:[email protected]>>
Cc: "James Seng" <[email protected]<mailto:[email protected]>>, "Bradford 
Lassey" <[email protected]<mailto:[email protected]>>, 
[email protected]<mailto:[email protected]>, "李丕" 
<[email protected]<mailto:[email protected]>>
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
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to