blob: 2b0bd478f24986c99946bb4b58f424a6a60e226c [file] [log] [blame]
<html>
<head>
<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function test()
{
InspectorTest.sendCommand("Profiler.stop", {}, didStopProfile);
function didStopProfile(messageObject)
{
InspectorTest.expectedError("ProfileAgent.stop", messageObject);
InspectorTest.completeTest();
}
}
</script>
</head>
<body onload="runTest()">
<p>
Test that profiler doesn't crash when we call stop without preceeding start.
</body>
</html>