Page 1 of 1

Broadcast Channel API Support?

PostPosted: Tue May 11, 2021 7:20 am
by ShenQing
Hi, Does cef3 support Broadcast Channel API? If support how can i implement it. I write two simple test html,one send message, the other receive message. In chrome it runs OK,but in cef3 it does not take effect. Thank you for reply!

1.html part:
<script type="text/javascript">
var bc = new BroadcastChannel('test_channel');
</script>
var txtMsg = document.getElementById("txtMsg");
bc.postMessage(txtMsg.value);

2.html part:

<script type="text/javascript">
var bc = new BroadcastChannel('test_channel');
bc.onmessage = function (ev) {
var txtMsg = document.getElementById("txtMsg");
txtMsg.value=ev.data;
}
</script>

Re: Broadcast Channel API Support?

PostPosted: Tue May 11, 2021 1:16 pm
by magreenblatt
What OS and CEF version are you testing?

Re: Broadcast Channel API Support?

PostPosted: Tue May 11, 2021 8:47 pm
by ShenQing
magreenblatt wrote:What OS and CEF version are you testing?


Hi,Thank you for reply, OS: Windows 10 CEF Version: 87.0.4280.66

Re: Broadcast Channel API Support?

PostPosted: Fri May 14, 2021 3:28 am
by ShenQing
can anyone help me?