Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/stop-without-preceeding-start.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
8 }
9
10 function test()
11 {
12 InspectorTest.sendCommand("Profiler.stop", {}, didStopProfile);
13 function didStopProfile(messageObject)
14 {
15 InspectorTest.expectedError("ProfileAgent.stop", messageObject);
16 InspectorTest.completeTest();
17 }
18
19 }
20 </script>
21 </head>
22 <body onload="runTest()">
23 <p>
24 Test that profiler doesn't crash when we call stop without preceeding start.
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698