767b8edd9d
BUG=chromium:823874 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: I1df9347ead62dc84150f5549c29815600609c55b Reviewed-on: https://chromium-review.googlesource.com/972181 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#52085}
13 lines
464 B
JavaScript
13 lines
464 B
JavaScript
// Copyright 2018 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.
|
|
|
|
const {session, contextGroup, Protocol} = InspectorTest.start('Checks that Runtime.getIsolateId works');
|
|
|
|
(async function test() {
|
|
const id = await Protocol.Runtime.getIsolateId();
|
|
console.assert(typeof id === 'string');
|
|
console.assert(id.length > 0);
|
|
InspectorTest.completeTest();
|
|
})();
|