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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-native-function.html

Issue 2139363005: [DevTools] Fix native function console output (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-native-function-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 5 <script>
6 function test() 6 function test()
7 { 7 {
8 InspectorTest.evaluateInConsole("Math.random", step1); 8 InspectorTest.evaluateInConsole("Math.random", step1);
9 9
10 function step1(current, total) 10 function step1()
11 {
12 InspectorTest.evaluateInConsole("document.appendChild", step2);
13 }
14
15 function step2()
11 { 16 {
12 InspectorTest.expandConsoleMessages(onExpanded); 17 InspectorTest.expandConsoleMessages(onExpanded);
13 } 18 }
14 19
15 function onExpanded() 20 function onExpanded()
16 { 21 {
17 InspectorTest.dumpConsoleMessages(); 22 InspectorTest.dumpConsoleMessages();
18 InspectorTest.completeTest(); 23 InspectorTest.completeTest();
19 } 24 }
20 } 25 }
21 </script> 26 </script>
22 </head> 27 </head>
23 <body onload="runTest()"> 28 <body onload="runTest()">
24 <p>Tests that console dumps native function without exception.</p> 29 <p>Tests that console dumps native function without exception.</p>
25 </body> 30 </body>
26 </html> 31 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-native-function-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698