Commit 9b3b4da6 authored by Johannes Henkel's avatar Johannes Henkel Committed by Commit Bot

[DevTools] Make 'flatten' mode non-experimental

Also, deprecate sendMessageToTarget.

Bug: 991325
Change-Id: Ic29e941f0131adb00165dfde8380c4bb1c4ab982
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827674Reviewed-by: default avatarAndrey Kosyakov <caseq@chromium.org>
Commit-Queue: Johannes Henkel <johannes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700402}
parent bd2f718e
......@@ -6530,7 +6530,9 @@ domain Target
parameters
TargetID targetId
# Enables "flat" access to the session via specifying sessionId attribute in the commands.
experimental optional boolean flatten
# We plan to make this the default, deprecate non-flattened mode,
# and eventually retire it. See crbug.com/991325.
optional boolean flatten
returns
# Id assigned to the session.
SessionID sessionId
......@@ -6626,7 +6628,9 @@ domain Target
array of TargetInfo targetInfos
# Sends protocol message over session with given id.
command sendMessageToTarget
# Consider using flat mode instead; see commands attachToTarget, setAutoAttach,
# and crbug.com/991325.
deprecated command sendMessageToTarget
parameters
string message
# Identifier of the session.
......@@ -6645,7 +6649,9 @@ domain Target
# to run paused targets.
boolean waitForDebuggerOnStart
# Enables "flat" access to the session via specifying sessionId attribute in the commands.
experimental optional boolean flatten
# We plan to make this the default, deprecate non-flattened mode,
# and eventually retire it. See crbug.com/991325.
optional boolean flatten
# Controls whether to discover available targets and notify via
# `targetCreated/targetInfoChanged/targetDestroyed` events.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment