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

Unified Diff: content/browser/debugger/manual_tests/debugger-execution-while-paused.html

Issue 11645015: Revert r173891 - "DevTools: rename debugger/ to devtools/, move DevTools files into content/rendere… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/debugger/manual_tests/debugger-execution-while-paused.html
diff --git a/content/browser/debugger/manual_tests/debugger-execution-while-paused.html b/content/browser/debugger/manual_tests/debugger-execution-while-paused.html
new file mode 100644
index 0000000000000000000000000000000000000000..f33abeabfac2deabfb38e002099d83de2286d697
--- /dev/null
+++ b/content/browser/debugger/manual_tests/debugger-execution-while-paused.html
@@ -0,0 +1,17 @@
+<script>
+function stepOne()
+{
+ console.log(1);
+}
+
+function stepTwo()
+{
+ alert("Test failed. The second button event still fired.");
+}
+</script>
+
+<p>To test, open the DevTools (Ctrl+Shift+I) and reload the page. Set a break point inside the stepOne() function.
+Now click the Step One button in the page. The breakpoint should be hit. While paused at the breakpoint
+click on the Step Two button. You should not see an alert dialog. Continue script.</p>
+<button onclick="stepOne()">Step One</button><br><br>
+<button onclick="stepTwo()">Step Two</button>

Powered by Google App Engine
This is Rietveld 408576698