| <script src="../../http/tests/inspector/resources/inspector-test.js"></script> |
| <script src="resources/audit-utilities.js"></script> |
| let suite = InspectorTest.Audit.createSuite("Audit.setup"); |
| name: "Audit.setup.Invalid.SequentialCalls", |
| description: "Check that additional calls to Audit.setup fail.", |
| await InspectorTest.Audit.setupAudit(); |
| await InspectorTest.expectException(async () => { |
| await InspectorTest.Audit.setupAudit(); |
| await InspectorTest.Audit.teardownAudit(); |
| suite.runTestCasesAndFinish(); |
| <body onload="runTest()"> |
| <p>Tests for the Audit.setup command.</p> |