blob: af6a43b0de31bb0abd87daef1dceae3ba33bbbb4 [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-2d.js"></script>
<script>
function test() {
let suite = InspectorTest.createAsyncSuite("Canvas.recording2D");
suite.addTestCase({
name: "Canvas.recording2D.Console",
description: "Check that a recording can be triggered by console.record().",
test(resolve, reject) {
consoleRecord(WI.Canvas.ContextType.Canvas2D, resolve, reject);
},
});
suite.runTestCasesAndFinish();
}
</script>
</head>
<body onload="load()">
<p>Test that CanvasManager is able to record actions made to 2D canvas contexts.</p>
</body>
</html>