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

Unified Diff: test/debugger/test-api.js

Issue 2696173002: Fix receiver in Runtime::GetFrameDetails (Closed)
Patch Set: Disable receiver DCHECK for optimized frames Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/debugger/regress/regress-5950.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/debugger/test-api.js
diff --git a/test/debugger/test-api.js b/test/debugger/test-api.js
index 22dac703194f618840067a32c4fe12a9786c1f4b..c4533dee8503f4833141b07c449cf5fcd876c067 100644
--- a/test/debugger/test-api.js
+++ b/test/debugger/test-api.js
@@ -32,6 +32,7 @@ class DebugWrapper {
Exception: 2,
AfterCompile: 3,
CompileError: 4,
+ OOM: 5,
};
// The different types of steps.
@@ -818,10 +819,21 @@ class DebugWrapper {
case "promiseRejection":
debugEvent = this.DebugEvent.Exception;
break;
- default:
- // TODO(jgruber): More granularity.
+ case "OOM":
+ debugEvent = this.DebugEvent.OOM;
+ break;
+ case "other":
debugEvent = this.DebugEvent.Break;
break;
+ case "ambiguous":
+ case "XHR":
+ case "DOM":
+ case "EventListener":
+ case "assert":
+ case "debugCommand":
+ assertUnreachable();
+ default:
+ assertUnreachable();
}
if (!params.callFrames[0]) return;
« no previous file with comments | « test/debugger/regress/regress-5950.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698