summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webmessaging/resources/transfer-arraybuffer-to-parent.html
blob: 97cff4dcb3f902eeaae0e937a6473d065d4298dd (plain)
1
2
3
4
5
<!DOCTYPE html>
<script>
let ab = new Uint8Array([42, 222]).buffer;
window.parent.postMessage(ab, '*', [ab]);
</script>