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

Side by Side Diff: LayoutTests/inspector/console/console-error-on-call-frame.html

Issue 23956003: DevTools: Add a fallback for console message callframe linkifying when scriptId could not be resolv… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed unresolved call frame altogether 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-error-on-call-frame-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/debugger-test.js"></script> 4 <script src="../../http/tests/inspector/debugger-test.js"></script>
5 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 6 <script>
6
7 function testFunction() 7 function testFunction()
8 { 8 {
9 var i = 0;
9 debugger; 10 debugger;
10 } 11 }
11 12
12 var test = function() 13 function test()
13 { 14 {
14 InspectorTest.startDebuggerTest(step1); 15 InspectorTest.startDebuggerTest(step1);
15 16
16 function step1() 17 function step1()
17 { 18 {
18 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); 19 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
19 } 20 }
20 21
21 function step2() 22 function step2()
22 { 23 {
23 InspectorTest.reloadPage(step3); 24 InspectorTest.evaluateInConsole("console.error(42)", step3);
24 } 25 }
25 26
26 function step3() 27 function step3()
27 { 28 {
29 InspectorTest.resumeExecution(step4);
30 }
31
32 function step4()
33 {
34 InspectorTest.expandConsoleMessages();
35 InspectorTest.dumpConsoleMessages();
28 InspectorTest.completeDebuggerTest(); 36 InspectorTest.completeDebuggerTest();
29 } 37 }
30 } 38 }
31
32 </script> 39 </script>
33 </head> 40 </head>
34
35 <body onload="runTest()"> 41 <body onload="runTest()">
36 <p> 42 <p>Tests that console.error does not throw exception when executed in console on call frame.</p>
37 Tests "reload" from within inspector window while on pause.
38 </p>
39
40 </body> 43 </body>
41 </html> 44 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-error-on-call-frame-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698