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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/console/console-deprecated-methods.html

Issue 1859293002: [DevTools] Move Console to v8_inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added missing tests Created 4 years, 8 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
6 function test()
7 {
8 InspectorTest.eventHandler["Console.messageAdded"] = messageAdded;
9 InspectorTest.sendCommand("Console.enable", {});
10
11 var deprecatedMethods = [
12 "console.timeline(\"42\")",
13 "console.timelineEnd(\"42\")",
14 "console.markTimeline(\"42\")",
15 ];
16 InspectorTest.sendCommand("Runtime.evaluate", { expression: deprecatedMethod s.join(";") });
17
18 var messagesLeft = 3;
19 function messageAdded(data)
20 {
21 if (!--messagesLeft)
22 InspectorTest.completeTest();
23 }
24 }
25 </script>
26 </head>
27 <body onload="runTest()">Tests checks that deprecation messages for console.</bo dy>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698