OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 (async function() { |
| 6 utils.setlocale("fr_CA.UTF-8"); |
| 7 Protocol.Debugger.enable(); |
| 8 Protocol.Runtime.evaluate({ |
| 9 expression: 'inspector.breakProgram(\'\', JSON.stringify({a: 0.5}))'}); |
| 10 let message = await Protocol.Debugger.oncePaused(); |
| 11 InspectorTest.logObject(message.params.data || {}); |
| 12 Protocol.Debugger.resume(); |
| 13 |
| 14 Protocol.Runtime.evaluate({ |
| 15 expression: 'inspector.breakProgram(\'\', JSON.stringify({a: 1}))'}); |
| 16 message = await Protocol.Debugger.oncePaused(); |
| 17 InspectorTest.logObject(message.params.data || {}); |
| 18 Protocol.Debugger.resume(); |
| 19 |
| 20 InspectorTest.completeTest(); |
| 21 })(); |
OLD | NEW |