| Index: third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/stop-without-preceeding-start.js
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/stop-without-preceeding-start.js b/third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/stop-without-preceeding-start.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a95d4b687caed9ed0a797f44b1eeff25468e7473
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/stop-without-preceeding-start.js
|
| @@ -0,0 +1,7 @@
|
| +(async function() {
|
| + let {page, session, Protocol} = await InspectorTest.startBlank(
|
| + 'Test that profiler doesn\'t crash when we call stop without preceeding start.');
|
| + var messageObject = await Protocol.Profiler.stop();
|
| + InspectorTest.expectedError('ProfileAgent.stop', messageObject);
|
| + InspectorTest.completeTest();
|
| +})();
|
|
|