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

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

Issue 23861007: DevTools: Fix console output for native functions like Math.random (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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
7 function test() 6 function test()
8 { 7 {
9 InspectorTest.evaluateInConsole("1+2", step2); 8 InspectorTest.evaluateInConsole("Math.random", step1);
10 9
11 function step2() 10 function step1(current, total)
12 { 11 {
12 InspectorTest.expandConsoleMessages();
13 InspectorTest.dumpConsoleMessages(); 13 InspectorTest.dumpConsoleMessages();
14 InspectorTest.completeTest(); 14 InspectorTest.completeTest();
15 } 15 }
16 } 16 }
17
18 </script> 17 </script>
19 </head> 18 </head>
20
21 <body onload="runTest()"> 19 <body onload="runTest()">
22 <p> 20 <p>Tests that console dumps native function without exception.</p>
23 Tests that simple evaluations may be performed in the console.
24 </p>
25
26 </body> 21 </body>
27 </html> 22 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-native-function-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698