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

Side by Side Diff: LayoutTests/inspector/sources/debugger-step/debugger-step-into-document-write.html

Issue 1177373005: Dump inspector traffic to stderr for all tests under inspector/sources/debugger-step (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/http/tests/inspector/debugger-test.js ('k') | no next file » | 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> 3 <script>
4 document.writeln("<script>\nfunction f1() {\n window.foo = true;\n}\nf1();\ n <" + "/script>"); 4 document.writeln("<script>\nfunction f1() {\n window.foo = true;\n}\nf1();\ n <" + "/script>");
5 </script> 5 </script>
6 6
7 <script> 7 <script>
8 console.assert(window.foo, "FAIL"); 8 console.assert(window.foo, "FAIL");
9 </script> 9 </script>
10 10
11 <script src="../../../http/tests/inspector/inspector-test.js"></script> 11 <script src="../../../http/tests/inspector/inspector-test.js"></script>
12 <script src="../../../http/tests/inspector/debugger-test.js"></script> 12 <script src="../../../http/tests/inspector/debugger-test.js"></script>
13 13
14 <script> 14 <script>
15 15
16 function test() 16 function test()
17 { 17 {
18 var numberOfStepInto = 9; 18 var numberOfStepInto = 9;
19 19
20 InspectorTest.startDumpingProtocolMessages();
21 InspectorTest.startDebuggerTest(step1, true); 20 InspectorTest.startDebuggerTest(step1, true);
22 21
23 function step1() 22 function step1()
24 { 23 {
25 InspectorTest.showScriptSource("debugger-step-into-document-write.html", step2); 24 InspectorTest.showScriptSource("debugger-step-into-document-write.html", step2);
26 } 25 }
27 26
28 function step2(sourceFrame) 27 function step2(sourceFrame)
29 { 28 {
30 InspectorTest.addResult("Script source was shown."); 29 InspectorTest.addResult("Script source was shown.");
(...skipping 19 matching lines...) Expand all
50 49
51 </script> 50 </script>
52 </head> 51 </head>
53 52
54 <body onload="runTest()"> 53 <body onload="runTest()">
55 <p> 54 <p>
56 Tests that debugger StepInto will step into inlined scripts created by document. write(). 55 Tests that debugger StepInto will step into inlined scripts created by document. write().
57 </p> 56 </p>
58 </body> 57 </body>
59 </html> 58 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/debugger-test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698