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

Side by Side Diff: content/browser/debugger/manual_tests/error-warning-count.html

Issue 7274031: Wholesale move of debugger sources to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add OWNERS and DEPS. Created 9 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 | Annotate | Revision Log
OLDNEW
1 <script> 1 <script>
2 function clickHandler(errors, warnings) 2 function clickHandler(errors, warnings)
3 { 3 {
4 return function() 4 return function()
5 { 5 {
6 for (var i = 0; i < errors; ++i) 6 for (var i = 0; i < errors; ++i)
7 console.error("Error " + (i + 1)); 7 console.error("Error " + (i + 1));
8 for (var i = 0; i < warnings; ++i) 8 for (var i = 0; i < warnings; ++i)
9 console.warn("Warning " + (i + 1)); 9 console.warn("Warning " + (i + 1));
10 } 10 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 } 50 }
51 </script> 51 </script>
52 <body onload="loaded()"> 52 <body onload="loaded()">
53 <p>To begin test, open DevTools and click one of the buttons below. You should 53 <p>To begin test, open DevTools and click one of the buttons below. You should
54 see an error and/or warning count in the Inspector's status bar. Clicking on 54 see an error and/or warning count in the Inspector's status bar. Clicking on
55 the error/warning count should open the Console. Hovering over the 55 the error/warning count should open the Console. Hovering over the
56 error/warning count should show you a tooltip that matches the text in the 56 error/warning count should show you a tooltip that matches the text in the
57 button you clicked.</p> 57 button you clicked.</p>
58 <p>Note: You must reload the page between each button press.</p> 58 <p>Note: You must reload the page between each button press.</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698