summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/runtime/evaluate-with-context-id-equal-zero.js
blob: d37a00ce37a74f37af1a084a8d012a9b6fca4f11 (plain)
1
2
3
4
5
6
7
8
9
// Copyright 2016 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.

print("Tests that DevTools doesn't crash on Runtime.evaluate with contextId equals 0.");

Protocol.Runtime.evaluate({ "contextId": 0, "expression": "" })
  .then(message => InspectorTest.logMessage(message))
  .then(() => InspectorTest.completeTest());