bbfe7f32c5
This reverts commit 003159e777
.
Reason for revert: breaks roll into Chromium: https://ci.chromium.org/p/chromium/builders/luci.chromium.try/linux_chromium_headless_rel/3140
Original change's description:
> [inspector] RemoteObject.description should be empty for primitive type
>
> We currently report description field for numbers. On client side user
> can calculate description as remoteObject.unserializableValue ||
> (remoteObject.value + ''). Let's report description only for objects to
> simplify value -> remoteObject logic a bit.
>
> R=dgozman@chromium.org
> TBR=jgruber@chromium.org
>
> Bug: chromium:595206
> Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
> Change-Id: I91356a44aa3024e20c8f966869abf4a41b88e4bc
> Reviewed-on: https://chromium-review.googlesource.com/737485
> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
> Reviewed-by: Pavel Feldman <pfeldman@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#53453}
TBR=dgozman@chromium.org,pfeldman@chromium.org,kozyatinskiy@chromium.org
Change-Id: Ifc184e1ac158d9ea7034922a7250444448fac49f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:595206
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
Reviewed-on: https://chromium-review.googlesource.com/1081207
Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org>
Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53461}
212 lines
3.5 KiB
Plaintext
212 lines
3.5 KiB
Plaintext
Tests that multiple sessions do not share command line api.
|
|
Setting $0 in 1
|
|
Evaluating $0 in 1
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
description : 42
|
|
type : number
|
|
value : 42
|
|
}
|
|
}
|
|
}
|
|
Evaluating $0 in 2
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
type : undefined
|
|
}
|
|
}
|
|
}
|
|
Setting $0 in 2
|
|
Evaluating $0 in 1
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
description : 42
|
|
type : number
|
|
value : 42
|
|
}
|
|
}
|
|
}
|
|
Evaluating $0 in 2
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
description : 17
|
|
type : number
|
|
value : 17
|
|
}
|
|
}
|
|
}
|
|
Setting $_ in 1
|
|
Evaluating $_ in 1
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
description : 42
|
|
type : number
|
|
value : 42
|
|
}
|
|
}
|
|
}
|
|
Evaluating $_ in 2
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
type : undefined
|
|
}
|
|
}
|
|
}
|
|
Setting $_ in 2
|
|
Evaluating $_ in 1
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
description : 42
|
|
type : number
|
|
value : 42
|
|
}
|
|
}
|
|
}
|
|
Evaluating $_ in 2
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
description : 17
|
|
type : number
|
|
value : 17
|
|
}
|
|
}
|
|
}
|
|
Inspecting in 1
|
|
inspectRequested from 1
|
|
{
|
|
method : Runtime.inspectRequested
|
|
params : {
|
|
hints : {
|
|
}
|
|
object : {
|
|
description : 42
|
|
type : number
|
|
value : 42
|
|
}
|
|
}
|
|
}
|
|
Inspecting in 1 through variable
|
|
inspectRequested from 1
|
|
{
|
|
method : Runtime.inspectRequested
|
|
params : {
|
|
hints : {
|
|
}
|
|
object : {
|
|
description : 42
|
|
type : number
|
|
value : 42
|
|
}
|
|
}
|
|
}
|
|
Inspecting in 2
|
|
inspectRequested from 2
|
|
{
|
|
method : Runtime.inspectRequested
|
|
params : {
|
|
hints : {
|
|
}
|
|
object : {
|
|
description : 17
|
|
type : number
|
|
value : 17
|
|
}
|
|
}
|
|
}
|
|
Inspecting in 2 through variable
|
|
inspectRequested from 2
|
|
{
|
|
method : Runtime.inspectRequested
|
|
params : {
|
|
hints : {
|
|
}
|
|
object : {
|
|
description : 17
|
|
type : number
|
|
value : 17
|
|
}
|
|
}
|
|
}
|
|
Inspecting in 2 through variable from 1
|
|
inspectRequested from 1
|
|
{
|
|
method : Runtime.inspectRequested
|
|
params : {
|
|
hints : {
|
|
}
|
|
object : {
|
|
description : 42
|
|
type : number
|
|
value : 42
|
|
}
|
|
}
|
|
}
|
|
Disconnecting 1
|
|
Evaluating $0 in 2
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
description : 17
|
|
type : number
|
|
value : 17
|
|
}
|
|
}
|
|
}
|
|
Evaluating $_ in 2
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
description : 17
|
|
type : number
|
|
value : 17
|
|
}
|
|
}
|
|
}
|
|
Inspecting in 2
|
|
inspectRequested from 2
|
|
{
|
|
method : Runtime.inspectRequested
|
|
params : {
|
|
hints : {
|
|
}
|
|
object : {
|
|
description : 17
|
|
type : number
|
|
value : 17
|
|
}
|
|
}
|
|
}
|
|
Inspecting in 2 through variable from 1
|
|
Inspecting in 2 through variable
|
|
inspectRequested from 2
|
|
{
|
|
method : Runtime.inspectRequested
|
|
params : {
|
|
hints : {
|
|
}
|
|
object : {
|
|
description : 17
|
|
type : number
|
|
value : 17
|
|
}
|
|
}
|
|
}
|