);
        recreateReadbackBuffer();
        await fence();
        checkGetBufferSubData(gl.NO_ERROR, "noData");

        debug("");
        debug("write-delete-fence-wait-read");
        gl.copyBufferSubData(gl.COPY_READ_BUFFER, gl.COPY_WRITE_BUFFER, 0, 0, 8);
        {
            const p = fence();
            deleteReadbackBuffer();
            await p;
        }
        wtu.glErrorShouldBe(gl, gl.NO_ERROR);
    }

    finishTest();
})();

var successfullyParsed = true;
</script>
</body>
</html>
