Re: Intent to implement: BroadcastChannel API

2014-10-09 Thread Andrea Marchesini
My implementation supports sending blobs.
However, the API is still disabled by pref.

- Original Message -
 From: Jonas Sicking jo...@sicking.cc
 To: Andrea Marchesini amarches...@mozilla.com
 Cc: dev-platform dev-platform@lists.mozilla.org
 Sent: Wednesday, September 24, 2014 5:49:21 PM
 Subject: Re: Intent to implement: BroadcastChannel API
 
 Yes!
 
 Though as previously expressed, I don't think we should ship this until it
 supports sending Blobs.
 
 But we should definitely land preffed off as soon as patches are reviewed.
 
 / Jonas
 On Sep 24, 2014 3:45 AM, Andrea Marchesini amarches...@mozilla.com
 wrote:
 
  Summary: (from the spec) Pages on a single origin opened by the same user
  in the same user agent but in different unrelated browsing contexts
  sometimes need to send notifications to each other, for example hey, the
  user logged in over here, check your credentials again.
  For elaborate cases, e.g. to manage locking of shared state, to manage
  synchronisation of resources between a server and multiple local clients,
  to share a WebSocket connection with a remote host, and so forth, shared
  workers are the most appropriate solution.
  For simple cases, though, where a shared worker would be an unreasonable
  overhead, authors can use the simple channel-based broadcast mechanism
  described in this section.
 
  Link to standard:
  http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html#broadcasting-to-other-browsing-contexts
 
  Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=966439
 
  Platform coverage: All
 
  Preference behind which this will be implemented:
  dom.broadcastchannel.enabled
 
  Note: Actually I've already implemented this API but I forgot to send this
  intent to implement email months ago. It has received the first positive
  review. I hope to land this API soon, if there are no objections.
  ___
  dev-platform mailing list
  dev-platform@lists.mozilla.org
  https://lists.mozilla.org/listinfo/dev-platform
 
 
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement: BroadcastChannel API

2014-10-09 Thread Jonas Sicking
I think that as soon as it's reviewed, we should enable and ship it!

/ Jonas

On Thu, Oct 9, 2014 at 5:14 AM, Andrea Marchesini amarches...@mozilla.com
wrote:

 My implementation supports sending blobs.
 However, the API is still disabled by pref.

 - Original Message -
  From: Jonas Sicking jo...@sicking.cc
  To: Andrea Marchesini amarches...@mozilla.com
  Cc: dev-platform dev-platform@lists.mozilla.org
  Sent: Wednesday, September 24, 2014 5:49:21 PM
  Subject: Re: Intent to implement: BroadcastChannel API
 
  Yes!
 
  Though as previously expressed, I don't think we should ship this until
 it
  supports sending Blobs.
 
  But we should definitely land preffed off as soon as patches are
 reviewed.
 
  / Jonas
  On Sep 24, 2014 3:45 AM, Andrea Marchesini amarches...@mozilla.com
  wrote:
 
   Summary: (from the spec) Pages on a single origin opened by the same
 user
   in the same user agent but in different unrelated browsing contexts
   sometimes need to send notifications to each other, for example hey,
 the
   user logged in over here, check your credentials again.
   For elaborate cases, e.g. to manage locking of shared state, to manage
   synchronisation of resources between a server and multiple local
 clients,
   to share a WebSocket connection with a remote host, and so forth,
 shared
   workers are the most appropriate solution.
   For simple cases, though, where a shared worker would be an
 unreasonable
   overhead, authors can use the simple channel-based broadcast mechanism
   described in this section.
  
   Link to standard:
  
 http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html#broadcasting-to-other-browsing-contexts
  
   Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=966439
  
   Platform coverage: All
  
   Preference behind which this will be implemented:
   dom.broadcastchannel.enabled
  
   Note: Actually I've already implemented this API but I forgot to send
 this
   intent to implement email months ago. It has received the first
 positive
   review. I hope to land this API soon, if there are no objections.
   ___
   dev-platform mailing list
   dev-platform@lists.mozilla.org
   https://lists.mozilla.org/listinfo/dev-platform
  
 

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement: BroadcastChannel API

2014-10-01 Thread Mounir Lamouri
On Wed, 1 Oct 2014, at 10:51, Jonas Sicking wrote:
 On Tue, Sep 30, 2014 at 3:54 AM, Mounir Lamouri mou...@lamouri.fr
 wrote:
  On Thu, 25 Sep 2014, at 02:49, Jonas Sicking wrote:
  Yes!
 
  Though as previously expressed, I don't think we should ship this until
  it
  supports sending Blobs.
 
  What do other UAs implement?
 
 I don't know. Does anyone else implement BroadcastChannel yet?

It seems an information that would be worth adding to Intent to
{Implement,Ship}. It's clearly valuable because there is a big
difference in being the last to implement something and the first. Also,
not following exactly the specification would have a different impact in
both cases.

-- Mounir
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement: BroadcastChannel API

2014-10-01 Thread Anne van Kesteren
On Wed, Oct 1, 2014 at 2:51 AM, Jonas Sicking jo...@sicking.cc wrote:
 I don't know. Does anyone else implement BroadcastChannel yet?

Last activity at Google appears to be four months ago:
https://code.google.com/p/chromium/issues/detail?id=161070 No activity
in other browsers as far as I can tell.

Seems we can safely do this then and upgrade the functionality later.


-- 
https://annevankesteren.nl/
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement: BroadcastChannel API

2014-10-01 Thread Jonas Sicking
On Wed, Oct 1, 2014 at 1:52 AM, Anne van Kesteren ann...@annevk.nl wrote:
 On Wed, Oct 1, 2014 at 2:51 AM, Jonas Sicking jo...@sicking.cc wrote:
 I don't know. Does anyone else implement BroadcastChannel yet?

 Last activity at Google appears to be four months ago:
 https://code.google.com/p/chromium/issues/detail?id=161070 No activity
 in other browsers as far as I can tell.

 Seems we can safely do this then and upgrade the functionality later.

The problem is that the upgraded functionality can't be feature
detected. Which is why I'd rather wait a release until we can
implement the full feature.

/ Jonas
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement: BroadcastChannel API

2014-10-01 Thread Andrew Overholt

On 01/10/14 04:46 AM, Mounir Lamouri wrote:

On Wed, 1 Oct 2014, at 10:51, Jonas Sicking wrote:

On Tue, Sep 30, 2014 at 3:54 AM, Mounir Lamouri mou...@lamouri.fr
wrote:

On Thu, 25 Sep 2014, at 02:49, Jonas Sicking wrote:

Yes!

Though as previously expressed, I don't think we should ship this until
it
supports sending Blobs.


What do other UAs implement?


I don't know. Does anyone else implement BroadcastChannel yet?


It seems an information that would be worth adding to Intent to
{Implement,Ship}.


Good idea.  Done: 
https://wiki.mozilla.org/index.php?title=WebAPI%2FExposureGuidelinesdiff=1020648oldid=1003407 
.


___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement: BroadcastChannel API

2014-09-30 Thread Mounir Lamouri
On Thu, 25 Sep 2014, at 02:49, Jonas Sicking wrote:
 Yes!
 
 Though as previously expressed, I don't think we should ship this until
 it
 supports sending Blobs.

What do other UAs implement?

-- Mounir
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement: BroadcastChannel API

2014-09-30 Thread Jonas Sicking
On Tue, Sep 30, 2014 at 3:54 AM, Mounir Lamouri mou...@lamouri.fr wrote:
 On Thu, 25 Sep 2014, at 02:49, Jonas Sicking wrote:
 Yes!

 Though as previously expressed, I don't think we should ship this until
 it
 supports sending Blobs.

 What do other UAs implement?

I don't know. Does anyone else implement BroadcastChannel yet?

/ Jonas
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Intent to implement: BroadcastChannel API

2014-09-24 Thread Andrea Marchesini
Summary: (from the spec) Pages on a single origin opened by the same user in 
the same user agent but in different unrelated browsing contexts sometimes need 
to send notifications to each other, for example hey, the user logged in over 
here, check your credentials again.
For elaborate cases, e.g. to manage locking of shared state, to manage 
synchronisation of resources between a server and multiple local clients, to 
share a WebSocket connection with a remote host, and so forth, shared workers 
are the most appropriate solution.
For simple cases, though, where a shared worker would be an unreasonable 
overhead, authors can use the simple channel-based broadcast mechanism 
described in this section.

Link to standard: 
http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html#broadcasting-to-other-browsing-contexts

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=966439

Platform coverage: All

Preference behind which this will be implemented: dom.broadcastchannel.enabled

Note: Actually I've already implemented this API but I forgot to send this 
intent to implement email months ago. It has received the first positive 
review. I hope to land this API soon, if there are no objections.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement: BroadcastChannel API

2014-09-24 Thread Jonas Sicking
Yes!

Though as previously expressed, I don't think we should ship this until it
supports sending Blobs.

But we should definitely land preffed off as soon as patches are reviewed.

/ Jonas
On Sep 24, 2014 3:45 AM, Andrea Marchesini amarches...@mozilla.com
wrote:

 Summary: (from the spec) Pages on a single origin opened by the same user
 in the same user agent but in different unrelated browsing contexts
 sometimes need to send notifications to each other, for example hey, the
 user logged in over here, check your credentials again.
 For elaborate cases, e.g. to manage locking of shared state, to manage
 synchronisation of resources between a server and multiple local clients,
 to share a WebSocket connection with a remote host, and so forth, shared
 workers are the most appropriate solution.
 For simple cases, though, where a shared worker would be an unreasonable
 overhead, authors can use the simple channel-based broadcast mechanism
 described in this section.

 Link to standard:
 http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html#broadcasting-to-other-browsing-contexts

 Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=966439

 Platform coverage: All

 Preference behind which this will be implemented:
 dom.broadcastchannel.enabled

 Note: Actually I've already implemented this API but I forgot to send this
 intent to implement email months ago. It has received the first positive
 review. I hope to land this API soon, if there are no objections.
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform