blob: af6a43b0de31bb0abd87daef1dceae3ba33bbbb4 [file] [log] [blame]
drousso@apple.comd19814c2019-06-01 21:37:49 +00001<!DOCTYPE html>
2<html>
3<head>
4<script src="../../http/tests/inspector/resources/inspector-test.js"></script>
5<script src="resources/recording-utilities.js"></script>
6<script src="resources/recording-2d.js"></script>
7<script>
8function test() {
9 let suite = InspectorTest.createAsyncSuite("Canvas.recording2D");
10
11 suite.addTestCase({
12 name: "Canvas.recording2D.Console",
13 description: "Check that a recording can be triggered by console.record().",
14 test(resolve, reject) {
15 consoleRecord(WI.Canvas.ContextType.Canvas2D, resolve, reject);
16 },
17 });
18
19 suite.runTestCasesAndFinish();
20}
21</script>
22</head>
23<body onload="load()">
24 <p>Test that CanvasManager is able to record actions made to 2D canvas contexts.</p>
25</body>
26</html>