chromium/third_party/blink/web_tests/fast/canvas-api/resources/OffscreenCanvas-transferable.js

self.onmessage = function(e) {
    postMessage({data: e.data.data}, [e.data.data]);
};