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

Unified Diff: test/inspector/debugger/pause-on-oom.js

Issue 2891213002: [inspector] Refactor protocol-test.js (Closed)
Patch Set: comments addressed Created 3 years, 7 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/inspector/debugger/pause.js ('k') | test/inspector/debugger/promise-chain-when-limit-hit.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/pause-on-oom.js
diff --git a/test/inspector/debugger/pause-on-oom.js b/test/inspector/debugger/pause-on-oom.js
index e36d251b260ef34ee1b1179e953b3ceaebaef395..fe5d61b49210b109f02154a88b35052acf3bdb3d 100644
--- a/test/inspector/debugger/pause-on-oom.js
+++ b/test/inspector/debugger/pause-on-oom.js
@@ -4,9 +4,9 @@
// Flags: --max-old-space-size=8
-InspectorTest.log('Check pause on OOM');
+let {session, contextGroup, Protocol} = InspectorTest.start('Check pause on OOM');
-InspectorTest.addScript(`
+contextGroup.addScript(`
var arr = [];
var stop = false;
function generateGarbage() {
« no previous file with comments | « test/inspector/debugger/pause.js ('k') | test/inspector/debugger/promise-chain-when-limit-hit.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698