| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |