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

Side by Side Diff: LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation.html

Issue 9193003: Merge 104714 - Web Inspector: "undefined" instead of error message in the SourceFrame. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 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 | LayoutTests/inspector/debugger/source-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 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../inspector/inspector-test.js"></script> 4 <script src="../inspector/inspector-test.js"></script>
5 <script> 5 <script>
6 6
7 function onload() 7 function onload()
8 { 8 {
9 if (window.layoutTestController) 9 if (window.layoutTestController)
10 layoutTestController.waitUntilDone(); 10 layoutTestController.waitUntilDone();
(...skipping 13 matching lines...) Expand all
24 runTest(); 24 runTest();
25 } 25 }
26 26
27 function test() 27 function test()
28 { 28 {
29 var messages = WebInspector.console.messages; 29 var messages = WebInspector.console.messages;
30 InspectorTest.addResult("Received console messages:"); 30 InspectorTest.addResult("Received console messages:");
31 for (var i = 0; i < messages.length; ++i) { 31 for (var i = 0; i < messages.length; ++i) {
32 var m = messages[i]; 32 var m = messages[i];
33 InspectorTest.addResult("Message[" + i + "]:"); 33 InspectorTest.addResult("Message[" + i + "]:");
34 InspectorTest.addResult("Message: " + m.message); 34 InspectorTest.addResult("Message: " + WebInspector.displayNameForURL(m.u rl) + ":" + m.line + " " + m.message);
35 } 35 }
36 InspectorTest.addResult("TEST COMPLETE."); 36 InspectorTest.addResult("TEST COMPLETE.");
37 InspectorTest.completeTest(); 37 InspectorTest.completeTest();
38 } 38 }
39 39
40 </script> 40 </script>
41 41
42 </head> 42 </head>
43 <body onload="onload()"> 43 <body onload="onload()">
44 <p> 44 <p>
45 Tests that Web Inspector won't crash if there are messages written to console fr om a frame which has already navigated to a page from a different domain. 45 Tests that Web Inspector won't crash if there are messages written to console fr om a frame which has already navigated to a page from a different domain.
46 </p> 46 </p>
47 <iframe id="theFrame" src="resources/console-log-frame-before-navigation.html">< /iframe> 47 <iframe id="theFrame" src="resources/console-log-frame-before-navigation.html">< /iframe>
48 </body> 48 </body>
49 </html> 49 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/debugger/source-frame-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698