c9a728aaa0
Implement console.countReset() from the WHATWG Console Standard R=bmeurer@chromium.org, dgozman@chromium.org, kozyatinskiy@chromium.org Bug: chromium:839947 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: I8a900e9cdf3e5b08506f709cf6497476c8c6c00b Reviewed-on: https://chromium-review.googlesource.com/1044902 Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Dominic Farolino <domfarolino@gmail.com> Cr-Commit-Position: refs/heads/master@{#53106}
85 lines
1.4 KiB
Plaintext
85 lines
1.4 KiB
Plaintext
Tests console.context
|
|
|
|
Running test: testConsoleContextMethod
|
|
console.context description:
|
|
{
|
|
className : Function
|
|
description : function context() { [native code] }
|
|
objectId : <objectId>
|
|
type : function
|
|
}
|
|
console.context() methods:
|
|
[
|
|
[0] : debug
|
|
[1] : error
|
|
[2] : info
|
|
[3] : log
|
|
[4] : warn
|
|
[5] : dir
|
|
[6] : dirXml
|
|
[7] : table
|
|
[8] : trace
|
|
[9] : group
|
|
[10] : groupCollapsed
|
|
[11] : groupEnd
|
|
[12] : clear
|
|
[13] : count
|
|
[14] : countReset
|
|
[15] : assert
|
|
[16] : markTimeline
|
|
[17] : profile
|
|
[18] : profileEnd
|
|
[19] : timeline
|
|
[20] : timelineEnd
|
|
[21] : time
|
|
[22] : timeEnd
|
|
[23] : timeStamp
|
|
]
|
|
|
|
Running test: testDefaultConsoleContext
|
|
undefined
|
|
undefined
|
|
undefined
|
|
|
|
Running test: testAnonymousConsoleContext
|
|
anonymous#2
|
|
anonymous#3
|
|
anonymous#4
|
|
|
|
Running test: testNamedConsoleContext
|
|
named-context#6
|
|
named-context#6
|
|
named-context#6
|
|
|
|
Running test: testTwoConsoleContextsWithTheSameName
|
|
named-context#7
|
|
named-context#8
|
|
|
|
Running test: testConsoleCountInDifferentConsoleContexts
|
|
[
|
|
[0] : {
|
|
type : string
|
|
value : 239: 1
|
|
}
|
|
]
|
|
[
|
|
[0] : {
|
|
type : string
|
|
value : 239: 1
|
|
}
|
|
]
|
|
|
|
Running test: testConsoleCountForNamedConsoleContext
|
|
[
|
|
[0] : {
|
|
type : string
|
|
value : 239: 1
|
|
}
|
|
]
|
|
[
|
|
[0] : {
|
|
type : string
|
|
value : 239: 2
|
|
}
|
|
]
|