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 ...@@ -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-005.xht [ Failure ]
crbug.com/249112 external/wpt/css/css-flexbox/flex-minimum-width-flex-items-007.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 # 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-line-wrapping.html [ Failure ]
crbug.com/336604 external/wpt/css/css-flexbox/flexbox_visibility-collapse.html [ Failure ] crbug.com/336604 external/wpt/css/css-flexbox/flexbox_visibility-collapse.html [ Failure ]
......
...@@ -128,7 +128,7 @@ func: function() {return a + b;} ...@@ -128,7 +128,7 @@ func: function() {return a + b;}
name: name:
prototype: Object prototype: Object
__proto__: function () { [native code] } __proto__: function () { [native code] }
[[FunctionLocation]]: Object [[FunctionLocation]]: undefined
[[Scopes]]: Scopes[2] [[Scopes]]: Scopes[2]
0: Closure 0: Closure
a: 10 a: 10
...@@ -255,7 +255,7 @@ func: function() {return a + b;} ...@@ -255,7 +255,7 @@ func: function() {return a + b;}
name: name:
prototype: Object prototype: Object
__proto__: function () { [native code] } __proto__: function () { [native code] }
[[FunctionLocation]]: Object [[FunctionLocation]]: undefined
[[Scopes]]: Scopes[2] [[Scopes]]: Scopes[2]
0: Closure 0: Closure
a: 10 a: 10
......
Tests terminate execution. Tests terminate execution.
{ {
description : 1
type : number type : number
value : 1 value : 1
} }
......
...@@ -3,7 +3,7 @@ first 'let a = 1;' result: wasThrown = false ...@@ -3,7 +3,7 @@ first 'let a = 1;' result: wasThrown = false
second 'let a = 1;' result: wasThrown = true second 'let a = 1;' result: wasThrown = true
exception message: Uncaught SyntaxError: Identifier 'a' has already been declared exception message: Uncaught SyntaxError: Identifier 'a' has already been declared
at <anonymous>:1:1 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 $$(selector, [startNode]) { [Command Line API] } function $$(selector, [startNode]) { [Command Line API] }
function $x(xpath, [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. ...@@ -7,7 +7,6 @@ Tests that we do not report scope variables with empty names.
isOwn : true isOwn : true
name : a name : a
value : { value : {
description : 2
type : number type : number
value : 2 value : 2
} }
......
Tests setScriptSource functionality. Tests setScriptSource functionality.
Function evaluate: {"type":"number","value":6,"description":"6"} Function evaluate: {"type":"number","value":6}
PASS, result value: 6 PASS, result value: 6
Function evaluate: {"type":"number","value":8,"description":"8"} Function evaluate: {"type":"number","value":8}
PASS, result value: 8 PASS, result value: 8
Has error reported: PASS Has error reported: PASS
Reported error is a compile error: PASS Reported error is a compile error: PASS
......
...@@ -3,7 +3,6 @@ Tests that Runtime.awaitPromise works. ...@@ -3,7 +3,6 @@ Tests that Runtime.awaitPromise works.
Running test: testResolvedPromise Running test: testResolvedPromise
{ {
result : { result : {
description : 239
type : number type : number
value : 239 value : 239
} }
...@@ -37,7 +36,6 @@ Running test: testRejectedPromiseWithStack ...@@ -37,7 +36,6 @@ Running test: testRejectedPromiseWithStack
exceptionDetails : { exceptionDetails : {
columnNumber : 0 columnNumber : 0
exception : { exception : {
description : 239
objectId : <number> objectId : <number>
type : number type : number
value : 239 value : 239
...@@ -47,7 +45,6 @@ Running test: testRejectedPromiseWithStack ...@@ -47,7 +45,6 @@ Running test: testRejectedPromiseWithStack
text : Uncaught (in promise) text : Uncaught (in promise)
} }
result : { result : {
description : 239
type : number type : number
value : 239 value : 239
} }
...@@ -56,7 +53,6 @@ Running test: testRejectedPromiseWithStack ...@@ -56,7 +53,6 @@ Running test: testRejectedPromiseWithStack
Running test: testPendingPromise Running test: testPendingPromise
{ {
result : { result : {
description : 239
type : number type : number
value : 239 value : 239
} }
......
...@@ -61,7 +61,6 @@ Running test: testExceptionInFunctionExpression ...@@ -61,7 +61,6 @@ Running test: testExceptionInFunctionExpression
Running test: testFunctionReturnNotPromise Running test: testFunctionReturnNotPromise
{ {
result : { result : {
description : 239
type : number type : number
value : 239 value : 239
} }
......
...@@ -2,14 +2,12 @@ Tests that CommandLineAPI is presented only while evaluation. ...@@ -2,14 +2,12 @@ Tests that CommandLineAPI is presented only while evaluation.
{ {
result : { result : {
description : 15
type : number type : number
value : 15 value : 15
} }
} }
{ {
result : { result : {
description : 0
type : number type : number
value : 0 value : 0
} }
...@@ -17,21 +15,18 @@ Tests that CommandLineAPI is presented only while evaluation. ...@@ -17,21 +15,18 @@ Tests that CommandLineAPI is presented only while evaluation.
setPropertyForMethod() setPropertyForMethod()
{ {
result : { result : {
description : 14
type : number type : number
value : 14 value : 14
} }
} }
{ {
result : { result : {
description : 0
type : number type : number
value : 0 value : 0
} }
} }
{ {
result : { result : {
description : 42
type : number type : number
value : 42 value : 42
} }
...@@ -39,21 +34,18 @@ setPropertyForMethod() ...@@ -39,21 +34,18 @@ setPropertyForMethod()
defineValuePropertyForMethod() defineValuePropertyForMethod()
{ {
result : { result : {
description : 14
type : number type : number
value : 14 value : 14
} }
} }
{ {
result : { result : {
description : 0
type : number type : number
value : 0 value : 0
} }
} }
{ {
result : { result : {
description : 42
type : number type : number
value : 42 value : 42
} }
...@@ -61,21 +53,18 @@ defineValuePropertyForMethod() ...@@ -61,21 +53,18 @@ defineValuePropertyForMethod()
definePropertiesForMethod() definePropertiesForMethod()
{ {
result : { result : {
description : 14
type : number type : number
value : 14 value : 14
} }
} }
{ {
result : { result : {
description : 0
type : number type : number
value : 0 value : 0
} }
} }
{ {
result : { result : {
description : 42
type : number type : number
value : 42 value : 42
} }
...@@ -83,21 +72,18 @@ definePropertiesForMethod() ...@@ -83,21 +72,18 @@ definePropertiesForMethod()
defineAccessorPropertyForMethod() defineAccessorPropertyForMethod()
{ {
result : { result : {
description : 14
type : number type : number
value : 14 value : 14
} }
} }
{ {
result : { result : {
description : 0
type : number type : number
value : 0 value : 0
} }
} }
{ {
result : { result : {
description : 42
type : number type : number
value : 42 value : 42
} }
...@@ -105,21 +91,18 @@ defineAccessorPropertyForMethod() ...@@ -105,21 +91,18 @@ defineAccessorPropertyForMethod()
redefineGetOwnPropertyDescriptors() redefineGetOwnPropertyDescriptors()
{ {
result : { result : {
description : 14
type : number type : number
value : 14 value : 14
} }
} }
{ {
result : { result : {
description : 0
type : number type : number
value : 0 value : 0
} }
} }
{ {
result : { result : {
description : 42
type : number type : number
value : 42 value : 42
} }
......
...@@ -4,7 +4,6 @@ Tests line and column numbers in reported console messages. ...@@ -4,7 +4,6 @@ Tests line and column numbers in reported console messages.
params : { params : {
args : [ args : [
[0] : { [0] : {
description : 239
type : number type : number
value : 239 value : 239
} }
...@@ -30,7 +29,6 @@ Tests line and column numbers in reported console messages. ...@@ -30,7 +29,6 @@ Tests line and column numbers in reported console messages.
params : { params : {
args : [ args : [
[0] : { [0] : {
description : 239
type : number type : number
value : 239 value : 239
} }
......
Check that console.log doesn't run microtasks. Check that console.log doesn't run microtasks.
{ {
description : 42
type : number type : number
value : 42 value : 42
} }
{ {
description : 43
type : number type : number
value : 43 value : 43
} }
{ {
description : 239
type : number type : number
value : 239 value : 239
} }
......
...@@ -3,7 +3,6 @@ Tests that Runtime.evaluate works with awaitPromise flag. ...@@ -3,7 +3,6 @@ Tests that Runtime.evaluate works with awaitPromise flag.
Running test: testResolvedPromise Running test: testResolvedPromise
{ {
result : { result : {
description : 239
type : number type : number
value : 239 value : 239
} }
...@@ -14,7 +13,6 @@ Running test: testRejectedPromise ...@@ -14,7 +13,6 @@ Running test: testRejectedPromise
exceptionDetails : { exceptionDetails : {
columnNumber : 0 columnNumber : 0
exception : { exception : {
description : 239
objectId : <number> objectId : <number>
type : number type : number
value : 239 value : 239
...@@ -25,7 +23,6 @@ Running test: testRejectedPromise ...@@ -25,7 +23,6 @@ Running test: testRejectedPromise
text : Uncaught (in promise) text : Uncaught (in promise)
} }
result : { result : {
description : 239
type : number type : number
value : 239 value : 239
} }
...@@ -63,7 +60,6 @@ Running test: testExceptionInEvaluate ...@@ -63,7 +60,6 @@ Running test: testExceptionInEvaluate
exceptionDetails : { exceptionDetails : {
columnNumber : 0 columnNumber : 0
exception : { exception : {
description : 239
objectId : <number> objectId : <number>
type : number type : number
value : 239 value : 239
...@@ -74,7 +70,6 @@ Running test: testExceptionInEvaluate ...@@ -74,7 +70,6 @@ Running test: testExceptionInEvaluate
text : Uncaught text : Uncaught
} }
result : { result : {
description : 239
type : number type : number
value : 239 value : 239
} }
......
...@@ -3,7 +3,6 @@ Tests that default execution context is selected correctly. ...@@ -3,7 +3,6 @@ Tests that default execution context is selected correctly.
id : <number> id : <number>
result : { result : {
result : { result : {
description : 42
type : number type : number
value : 42 value : 42
} }
......
Check that while Runtime.getProperties call on proxy object no user defined trap will be executed. Check that while Runtime.getProperties call on proxy object no user defined trap will be executed.
{ {
result : { result : {
description : 0
type : number type : number
value : 0 value : 0
} }
......
...@@ -3,7 +3,6 @@ Tests that property defined on console.__proto__ doesn't observable on other Obj ...@@ -3,7 +3,6 @@ Tests that property defined on console.__proto__ doesn't observable on other Obj
id : <number> id : <number>
result : { result : {
result : { result : {
description : 0
type : number type : number
value : 0 value : 0
} }
......
...@@ -4,7 +4,6 @@ window.foo=42 in session1 ...@@ -4,7 +4,6 @@ window.foo=42 in session1
id : <number> id : <number>
result : { result : {
result : { result : {
description : 42
type : number type : number
value : 42 value : 42
} }
...@@ -15,7 +14,6 @@ window.foo in session2 ...@@ -15,7 +14,6 @@ window.foo in session2
id : <number> id : <number>
result : { result : {
result : { result : {
description : 42
type : number type : number
value : 42 value : 42
} }
...@@ -26,7 +24,6 @@ window.foo in session3 ...@@ -26,7 +24,6 @@ window.foo in session3
id : <number> id : <number>
result : { result : {
result : { result : {
description : 42
type : number type : number
value : 42 value : 42
} }
......
...@@ -8,5 +8,5 @@ JSON without method property.. ...@@ -8,5 +8,5 @@ JSON without method property..
JSON without id property.. JSON without id property..
{"error":{"code":-32600,"message":"Message must have integer 'id' property"}} {"error":{"code":-32600,"message":"Message must have integer 'id' property"}}
Valid JSON.. 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