<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25415</bug_id>
          
          <creation_ts>2014-04-22 19:06:39 +0000</creation_ts>
          <short_desc>BroadcastChannel: should support structured clones</short_desc>
          <delta_ts>2014-04-30 00:16:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonas Sicking (Not reading bugmail)">jonas</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>ianloic</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104200</commentid>
    <comment_count>0</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2014-04-22 19:06:39 +0000</bug_when>
    <thetext>I mailed this to the whatwg list, but getting a bug on file seems better:

It would be very useful to be able to send structured data, including
Blobs, through the BroadcastChannel API.

This is something we&apos;ve seen any time we&apos;ve done storage or message
passing, that one of the first thing authors ask for is to not have to
do JSON serialization/parsing manually. The ability to pass
ArrayBuffers and Blobs is somewhat less commonly asked for, likely
because binary data is less often used, but seems important
nonetheless.

We can&apos;t allow transferring of objects, since you can&apos;t transfer
something to all listeners of a broadcasting API. But plain structured
clones should be no problem to support conceptually (though more work
to implement of course).

We&apos;ve started looking at doing structured clone support for Firefox
and likely won&apos;t ship until we have that implemented.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104211</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-04-22 20:44:36 +0000</bug_when>
    <thetext>Yeah that makes a lot of sense. For some reason when speccing the first draft of this I forgot we could clone without supporting transfers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104765</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-04-30 00:14:08 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8590.
Check-in comment: Make BroadcastChannel support structured clones
http://html5.org/tools/web-apps-tracker?from=8589&amp;to=8590</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104766</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-04-30 00:16:33 +0000</bug_when>
    <thetext>&apos;Tis done.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>