Skip to content

v8_inspector: HTTP /json/version returns array instead of object #9760

Closed
@auchenberg

Description

@auchenberg

Version: v7.2.0
Platform: Darwin MacBook-234.local 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64
Subsystem: v8_inspector

Steps:

  1. Start node --inspect
  2. Go to http://localhost:9229/json/version

Actual response:
The HTTP /json/version returns the version object wrapped in array

[ {
  "Browser": "node.js/v7.2.0",
  "Protocol-Version": "1.1"
} ]

Expected response:
The HTTP /json/version should return object in alignment with Chrome and other browsers.

{
  "Browser": "node.js/v7.2.0",
  "Protocol-Version": "1.1"
} 

Metadata

Metadata

Assignees

No one assigned

    Labels

    inspectorIssues and PRs related to the V8 inspector protocol

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions