Commit 84023410 authored by Alexey Kozyatinskiy's avatar Alexey Kozyatinskiy Committed by Commit Bot

[DevTools] prepare tests for primitive types without description

TBR=pfeldman@chromium.org

Bug: chromium:595206
Change-Id: I1abab36d1af07acb7198048f0082423a2d58e258
Reviewed-on: https://chromium-review.googlesource.com/1080176Reviewed-by: default avatarAleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#563063}
parent 48044f12
......@@ -2431,6 +2431,23 @@ crbug.com/249112 external/wpt/css/css-flexbox/flex-minimum-height-flex-items-007
crbug.com/249112 external/wpt/css/css-flexbox/flex-minimum-width-flex-items-005.xht [ Failure ]
crbug.com/249112 external/wpt/css/css-flexbox/flex-minimum-width-flex-items-007.xht [ Failure ]
crbug.com/595206 http/tests/devtools/sources/debugger-ui/watch-expressions-preserve-expansion.js [ Skip ]
crbug.com/595206 http/tests/inspector-protocol/terminate-execution-with-fetch-callbacks.js [ Skip ]
crbug.com/595206 inspector-protocol/console/console-let-const-with-api.js [ Skip ]
crbug.com/595206 inspector-protocol/debugger/debugger-scope-skip-variables-with-empty-name.js [ Skip ]
crbug.com/595206 inspector-protocol/debugger/setScriptSource.js [ Skip ]
crbug.com/595206 inspector-protocol/runtime/runtime-await-promise.js [ Skip ]
crbug.com/595206 inspector-protocol/runtime/runtime-callFunctionOn-async.js [ Skip ]
crbug.com/595206 inspector-protocol/runtime/runtime-clear-of-command-line-api.js [ Skip ]
crbug.com/595206 inspector-protocol/runtime/runtime-console-line-and-column.js [ Skip ]
crbug.com/595206 inspector-protocol/runtime/runtime-console-log-doesnt-run-microtasks.js [ Skip ]
crbug.com/595206 inspector-protocol/runtime/runtime-evaluate-async.js [ Skip ]
crbug.com/595206 inspector-protocol/runtime/runtime-evaluate-in-default-context.js [ Skip ]
crbug.com/595206 inspector-protocol/runtime/runtime-get-properties-on-proxy.js [ Skip ]
crbug.com/595206 inspector-protocol/runtime/runtime-property-on-console-proto.js [ Skip ]
crbug.com/595206 inspector-protocol/sessions/runtime-evaluate.js [ Skip ]
crbug.com/595206 inspector-protocol/target/target-send-message.js [ Skip ]
# Not implemented yet
crbug.com/336604 external/wpt/css/css-flexbox/flexbox_visibility-collapse-line-wrapping.html [ Failure ]
crbug.com/336604 external/wpt/css/css-flexbox/flexbox_visibility-collapse.html [ Failure ]
......
......@@ -128,7 +128,7 @@ func: function() {return a + b;}
name:
prototype: Object
__proto__: function () { [native code] }
[[FunctionLocation]]: Object
[[FunctionLocation]]: undefined
[[Scopes]]: Scopes[2]
0: Closure
a: 10
......@@ -255,7 +255,7 @@ func: function() {return a + b;}
name:
prototype: Object
__proto__: function () { [native code] }
[[FunctionLocation]]: Object
[[FunctionLocation]]: undefined
[[Scopes]]: Scopes[2]
0: Closure
a: 10
......
......@@ -3,7 +3,7 @@ first 'let a = 1;' result: wasThrown = false
second 'let a = 1;' result: wasThrown = true
exception message: Uncaught SyntaxError: Identifier 'a' has already been declared
at <anonymous>:1:1
{"result":{"type":"number","value":42,"description":"42"}}
{"result":{"type":"number","value":42}}
function $(selector, [startNode]) { [Command Line API] }
function $$(selector, [startNode]) { [Command Line API] }
function $x(xpath, [startNode]) { [Command Line API] }
......
......@@ -7,7 +7,6 @@ Tests that we do not report scope variables with empty names.
isOwn : true
name : a
value : {
description : 2
type : number
value : 2
}
......
Tests setScriptSource functionality.
Function evaluate: {"type":"number","value":6,"description":"6"}
Function evaluate: {"type":"number","value":6}
PASS, result value: 6
Function evaluate: {"type":"number","value":8,"description":"8"}
Function evaluate: {"type":"number","value":8}
PASS, result value: 8
Has error reported: PASS
Reported error is a compile error: PASS
......
......@@ -3,7 +3,6 @@ Tests that Runtime.awaitPromise works.
Running test: testResolvedPromise
{
result : {
description : 239
type : number
value : 239
}
......@@ -37,7 +36,6 @@ Running test: testRejectedPromiseWithStack
exceptionDetails : {
columnNumber : 0
exception : {
description : 239
objectId : <number>
type : number
value : 239
......@@ -47,7 +45,6 @@ Running test: testRejectedPromiseWithStack
text : Uncaught (in promise)
}
result : {
description : 239
type : number
value : 239
}
......@@ -56,7 +53,6 @@ Running test: testRejectedPromiseWithStack
Running test: testPendingPromise
{
result : {
description : 239
type : number
value : 239
}
......
......@@ -61,7 +61,6 @@ Running test: testExceptionInFunctionExpression
Running test: testFunctionReturnNotPromise
{
result : {
description : 239
type : number
value : 239
}
......
......@@ -2,14 +2,12 @@ Tests that CommandLineAPI is presented only while evaluation.
{
result : {
description : 15
type : number
value : 15
}
}
{
result : {
description : 0
type : number
value : 0
}
......@@ -17,21 +15,18 @@ Tests that CommandLineAPI is presented only while evaluation.
setPropertyForMethod()
{
result : {
description : 14
type : number
value : 14
}
}
{
result : {
description : 0
type : number
value : 0
}
}
{
result : {
description : 42
type : number
value : 42
}
......@@ -39,21 +34,18 @@ setPropertyForMethod()
defineValuePropertyForMethod()
{
result : {
description : 14
type : number
value : 14
}
}
{
result : {
description : 0
type : number
value : 0
}
}
{
result : {
description : 42
type : number
value : 42
}
......@@ -61,21 +53,18 @@ defineValuePropertyForMethod()
definePropertiesForMethod()
{
result : {
description : 14
type : number
value : 14
}
}
{
result : {
description : 0
type : number
value : 0
}
}
{
result : {
description : 42
type : number
value : 42
}
......@@ -83,21 +72,18 @@ definePropertiesForMethod()
defineAccessorPropertyForMethod()
{
result : {
description : 14
type : number
value : 14
}
}
{
result : {
description : 0
type : number
value : 0
}
}
{
result : {
description : 42
type : number
value : 42
}
......@@ -105,21 +91,18 @@ defineAccessorPropertyForMethod()
redefineGetOwnPropertyDescriptors()
{
result : {
description : 14
type : number
value : 14
}
}
{
result : {
description : 0
type : number
value : 0
}
}
{
result : {
description : 42
type : number
value : 42
}
......
......@@ -4,7 +4,6 @@ Tests line and column numbers in reported console messages.
params : {
args : [
[0] : {
description : 239
type : number
value : 239
}
......@@ -30,7 +29,6 @@ Tests line and column numbers in reported console messages.
params : {
args : [
[0] : {
description : 239
type : number
value : 239
}
......
Check that console.log doesn't run microtasks.
{
description : 42
type : number
value : 42
}
{
description : 43
type : number
value : 43
}
{
description : 239
type : number
value : 239
}
......
......@@ -3,7 +3,6 @@ Tests that Runtime.evaluate works with awaitPromise flag.
Running test: testResolvedPromise
{
result : {
description : 239
type : number
value : 239
}
......@@ -14,7 +13,6 @@ Running test: testRejectedPromise
exceptionDetails : {
columnNumber : 0
exception : {
description : 239
objectId : <number>
type : number
value : 239
......@@ -25,7 +23,6 @@ Running test: testRejectedPromise
text : Uncaught (in promise)
}
result : {
description : 239
type : number
value : 239
}
......@@ -63,7 +60,6 @@ Running test: testExceptionInEvaluate
exceptionDetails : {
columnNumber : 0
exception : {
description : 239
objectId : <number>
type : number
value : 239
......@@ -74,7 +70,6 @@ Running test: testExceptionInEvaluate
text : Uncaught
}
result : {
description : 239
type : number
value : 239
}
......
......@@ -3,7 +3,6 @@ Tests that default execution context is selected correctly.
id : <number>
result : {
result : {
description : 42
type : number
value : 42
}
......
Check that while Runtime.getProperties call on proxy object no user defined trap will be executed.
{
result : {
description : 0
type : number
value : 0
}
......
......@@ -3,7 +3,6 @@ Tests that property defined on console.__proto__ doesn't observable on other Obj
id : <number>
result : {
result : {
description : 0
type : number
value : 0
}
......
......@@ -4,7 +4,6 @@ window.foo=42 in session1
id : <number>
result : {
result : {
description : 42
type : number
value : 42
}
......@@ -15,7 +14,6 @@ window.foo in session2
id : <number>
result : {
result : {
description : 42
type : number
value : 42
}
......@@ -26,7 +24,6 @@ window.foo in session3
id : <number>
result : {
result : {
description : 42
type : number
value : 42
}
......
......@@ -8,5 +8,5 @@ JSON without method property..
JSON without id property..
{"error":{"code":-32600,"message":"Message must have integer 'id' property"}}
Valid JSON..
{"id":1,"result":{"result":{"type":"number","value":42,"description":"42"}}}
{"id":1,"result":{"result":{"type":"number","value":42}}}
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