chromium/third_party/blink/web_tests/http/tests/devtools/console/console-eval-scoped-expected.txt

Tests that evaluating 'console.log()' in the console will have access to its outer scope variables. Bug 60547.


Running: testSnippet1
console-eval-scoped.js:73 with: Object property value
VM:1 eval in with: Object property value

Running: testSnippet2
VM:1 eval in function: Function parameter

Running: testConsoleEvalPrimitiveValue
foo
'bar'

Running: testConsoleEvalObject
{
    configurable : true
    enumerable : true
    get : {
        className : "Function"
        description : "get getter() { }"
        objectId : <string>
        type : "function"
    }
    isOwn : true
    name : "getter"
    set : {
        type : "undefined"
    }
}
{
    configurable : true
    enumerable : true
    get : {
        type : "undefined"
    }
    isOwn : true
    name : "setter"
    set : {
        className : "Function"
        description : "set setter(_) { }"
        objectId : <string>
        type : "function"
    }
}
{
    configurable : true
    enumerable : true
    isOwn : true
    name : "baz"
    value : {
        type : "string"
        value : "baz"
    }
    writable : true
}

Running: testGetEventListenersDoesNotThrow
getEventListeners(document.body.firstChild)
{}