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

Side by Side Diff: content/browser/debugger/manual_tests/debugger-pause-on-for-in-statements.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 test() 2 function test()
3 { 3 {
4 debugger; 4 debugger;
5 } 5 }
6 6
7 var object = { test: 1 }; 7 var object = { test: 1 };
8 8
9 for (var property in object) 9 for (var property in object)
10 test(); 10 test();
11 </script> 11 </script>
12 12
13 <p>To test, open the DevTools (Ctrl+Shift+I) and reload the page. When the debug ger breaks, select 13 <p>To test, open the DevTools (Ctrl+Shift+I) and reload the page. When the debug ger breaks, select
14 the (anonymous function) node in the call stack, you should see the execution li ne on the call to test(). 14 the (anonymous function) node in the call stack, you should see the execution li ne on the call to test().
15 <br><br> 15 <br><br>
16 Also set a breakpoint on the call to test(), and reload. It should break before the test() function is called. 16 Also set a breakpoint on the call to test(), and reload. It should break before the test() function is called.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698