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

Unified Diff: test/inspector/debugger/asm-js-breakpoint-before-exec.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
Index: test/inspector/debugger/asm-js-breakpoint-before-exec.js
diff --git a/test/inspector/debugger/asm-js-breakpoint-before-exec.js b/test/inspector/debugger/asm-js-breakpoint-before-exec.js
index 78a7b8e57ed9e547b145f3f4ea1cc9d0f799340a..ec760ecf082421c8545ad92e0eea3b4b9dcc4222 100644
--- a/test/inspector/debugger/asm-js-breakpoint-before-exec.js
+++ b/test/inspector/debugger/asm-js-breakpoint-before-exec.js
@@ -4,7 +4,7 @@
// Flags: --validate-asm --allow-natives-syntax
-InspectorTest.log(
+let {session, contextGroup, Protocol} = InspectorTest.start(
'This test runs asm.js which calls back to JS. Before executing (after ' +
'the script is parsed) we set breakpoints in the asm.js code.');
@@ -50,7 +50,7 @@ InspectorTest.runTestSuite([
function addScript(next) {
afterScriptParsedCallback = next;
- InspectorTest.addScript(testFunction.toString());
+ contextGroup.addScript(testFunction.toString());
},
function runTestFunction(next) {
« no previous file with comments | « test/inspector/debugger/access-obsolete-frame-expected.txt ('k') | test/inspector/debugger/asm-js-breakpoint-during-exec.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698