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

Side by Side Diff: test/inspector/debugger/continue-to-location.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 InspectorTest.addScript( 5 let {session, contextGroup, Protocol} = InspectorTest.start('Tests Debugger.cont inueToLocation');
6
7 contextGroup.addScript(
6 `function statementsExample() 8 `function statementsExample()
7 { 9 {
8 var self = arguments.callee; 10 var self = arguments.callee;
9 11
10 debugger; 12 debugger;
11 13
12 self.step = 1; 14 self.step = 1;
13 15
14 self.step = 2; 16 self.step = 2;
15 17
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 Protocol.Debugger.resume(); 107 Protocol.Debugger.resume();
106 next(); 108 next();
107 } 109 }
108 110
109 function handleDebuggerPausedUnexpected(messageObject) 111 function handleDebuggerPausedUnexpected(messageObject)
110 { 112 {
111 InspectorTest.log("Unexpected debugger pause"); 113 InspectorTest.log("Unexpected debugger pause");
112 InspectorTest.completeTest(); 114 InspectorTest.completeTest();
113 } 115 }
114 } 116 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698