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

Unified Diff: test/inspector/debugger/asm-js-breakpoint-during-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
« no previous file with comments | « test/inspector/debugger/asm-js-breakpoint-before-exec.js ('k') | test/inspector/debugger/asm-js-stack.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/asm-js-breakpoint-during-exec.js
diff --git a/test/inspector/debugger/asm-js-breakpoint-during-exec.js b/test/inspector/debugger/asm-js-breakpoint-during-exec.js
index 2a29dc1ea41cba2486feac77b26be142b7b1d15d..af3ac518b380100712b26174b41aec1cca175661 100644
--- a/test/inspector/debugger/asm-js-breakpoint-during-exec.js
+++ b/test/inspector/debugger/asm-js-breakpoint-during-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. JS triggers a break, on ' +
'pause we set breakpoints in the asm.js code.');
@@ -53,7 +53,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/asm-js-breakpoint-before-exec.js ('k') | test/inspector/debugger/asm-js-stack.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698