2017-04-25 22:55:45 +00:00
|
|
|
// Copyright 2017 the V8 project authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
InspectorTest.log('Check destroying agent inside of breakProgram');
|
|
|
|
|
|
|
|
(async function test(){
|
|
|
|
await Protocol.Debugger.enable();
|
|
|
|
Protocol.Runtime.evaluate({expression: 'inspector.breakProgram(\'\', \'{}\')'});
|
|
|
|
await Protocol.Debugger.oncePaused();
|
2017-05-18 23:11:20 +00:00
|
|
|
InspectorTest.session.disconnect();
|
2017-04-25 22:55:45 +00:00
|
|
|
utils.quit();
|
|
|
|
})();
|