Bug 1066410 - Serious color distortion happened when plays WebRTC. r=jesup, a=bajaj
[gecko.git] / dom / workers / test / WorkerTest_worker.js
blob445408f8fafeebf4983c24df1ddc0130bb9aa071
1 /**
2  * Any copyright is dedicated to the Public Domain.
3  * http://creativecommons.org/publicdomain/zero/1.0/
4  */
5 onmessage = function(event) {
6   let worker = new ChromeWorker("WorkerTest_subworker.js");
7   worker.onmessage = function(event) {
8     postMessage(event.data);
9   }
10   worker.postMessage(event.data);