<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <script src="/resources/testharness.js"></script>
        <script src="/resources/testharnessreport.js"></script>
    </head>
    <body>
        <script>

async function getEncryptedData(transform)
{
    const chunk = await transform.readable.getReader().read();
    const value = new Uint8Array(chunk.value);
    return [...value];
}

promise_test(async (test) => {
    const key = await crypto.subtle.importKey("raw", new Uint8Array([143