blob: 7a4de9ceda35d4cafbdfbb3acc2c12c942b01b5f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../http/tests/inspector/resources/inspector-test.js"></script>
<script src="resources/recording-utilities.js"></script>
<script src="resources/recording-bitmaprenderer.js"></script>
<script>
function test() {
let suite = InspectorTest.createAsyncSuite("Canvas.recordingBitmapRenderer");
suite.addTestCase({
name: "Canvas.recordingBitmapRenderer.singleFrame",
description: "Check that the recording is stopped after a single frame.",
test(resolve, reject) {
startRecording(WI.Canvas.ContextType.BitmapRenderer, resolve, reject, {frameCount: 1});
},
});
suite.runTestCasesAndFinish();
}
</script>
</head>
<body onload="load()">
<p>Test that CanvasManager is able to record actions made to BitmapRenderer canvas contexts.</p>
</body>
</html>