7bbea08f66
This refactoring makes it easier to write advanced tests and gives full control over what's happening to the test code. It also forces description for every test. BUG=none Review-Url: https://codereview.chromium.org/2891213002 Cr-Commit-Position: refs/heads/master@{#45412}
31 lines
500 B
Plaintext
31 lines
500 B
Plaintext
Tests console object and it's prototype
|
|
|
|
Running test: consoleExistsOnGlobal
|
|
true
|
|
|
|
Running test: consoleHasRightPropertyDescriptor
|
|
{
|
|
configurable : true
|
|
enumerable : false
|
|
value : <value>
|
|
writable : true
|
|
}
|
|
|
|
Running test: ConsoleNotExistsOnGlobal
|
|
false
|
|
|
|
Running test: prototypeChainMustBeCorrect
|
|
true
|
|
|
|
Running test: consoleToString
|
|
[object Object]
|
|
|
|
Running test: consoleMethodPropertyDescriptor
|
|
{
|
|
configurable : true
|
|
enumerable : true
|
|
value : {
|
|
}
|
|
writable : true
|
|
}
|