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

Unified Diff: test/debugger/debug/debug-break-inline.js

Issue 2491543002: [debug-wrapper] Conditional breaks, locals, evaluate, scopes (Closed)
Patch Set: Rebase Created 4 years, 1 month 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: test/debugger/debug/debug-break-inline.js
diff --git a/test/debugger/debug/debug-break-inline.js b/test/debugger/debug/debug-break-inline.js
index aab42335698fae9c4e50b784c2dd50de59c47c1b..18574ecea122d0155017bc4db8cafc7a6bca4f5b 100644
--- a/test/debugger/debug/debug-break-inline.js
+++ b/test/debugger/debug/debug-break-inline.js
@@ -45,25 +45,6 @@ function listener(event, exec_state, event_data, data) {
break_count++;
if (break_count == 1) {
Debug.setBreakPoint(g, 3);
-
- for (var i = 0; i < exec_state.frameCount(); i++) {
- var frame = exec_state.frame(i);
- // When function f is optimized (1 means YES, see runtime.cc) we
- // expect an optimized frame for f and g.
- if (%GetOptimizationStatus(f) == 1) {
- if (i == 1) {
- assertTrue(frame.isOptimizedFrame());
- assertTrue(frame.isInlinedFrame());
- assertEquals(4 - i, frame.inlinedFrameIndex());
- } else if (i == 2) {
- assertTrue(frame.isOptimizedFrame());
- assertFalse(frame.isInlinedFrame());
- } else {
- assertFalse(frame.isOptimizedFrame());
- assertFalse(frame.isInlinedFrame());
- }
- }
- }
}
}
}
« no previous file with comments | « test/debugger/debug-evaluate-locals-optimized-double.js ('k') | test/debugger/debug/debug-evaluate-closure.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698