Re: Cross origin communication and the navigator.connect API

2014-12-16 Thread Dave Huseby
How does this differ from window.postMessage? I thought postMessage was going to be the main way that we did cross-origin communication between apps and service workers? The fxos security team has been discussing ideas for how crypto-hardware (e.g. secure elements, TPM, etc) vendors could expose

Re: Cross origin communication and the navigator.connect API

2014-12-16 Thread Dave Huseby
How does this differ from window.postMessage? I thought postMessage was going to be the main way that we did cross-origin communication between apps and service workers? The fxos security team has been discussing ideas for how crypto-hardware (e.g. secure elements, TPM, etc) vendors could expose

Re: Adding a recommendation that one-argument constructors be explicit to the C++ style guide

2014-05-12 Thread Dave Huseby
Me too. Implicit type conversion through one-arg constructors is the source of subtle bugs. -dave On 05/12/2014 01:16 PM, Kyle Huey wrote: > On Mon, May 12, 2014 at 1:07 PM, Boris Zbarsky wrote: >> Background: in C++, one-argument constructors are implicit. >> >> What this means is that given t