chromium/third_party/blink/web_tests/http/tests/devtools/extensions/extensions-sidebar-expected.txt

Tests sidebars in WebInspector extensions API

Started extension.
Running tests...
RUNNING TEST: extension_testElementsSidebarPageReplacedWithObject
Got onShown(), frame defined
Got onShown(), frame not defined
RUNNING TEST: extension_testElementsSidebarSetExpression
elements sidebar content: titlef0: "expression"f1: undefinedf2: nullf3: {}f4: []f5: (3) ['aa', 'bb', 'cc']f6: {f60: 42, f61: 'foo', f62: Array(0)}f7: 42f8: Foo {bar: 1}f9: HTMLCollection []f10: ƒ ()f11: "foo"[[Prototype]]: Object
RUNNING TEST: extension_testElementsSidebarSetObject
Watch sidebar created, callback arguments dump follows:
{
    0 : {
        onHidden : {
            addListener : <function>
            removeListener : <function>
        }
        onShown : {
            addListener : <function>
            removeListener : <function>
        }
        setExpression : <function>
        setHeight : <function>
        setObject : <function>
        setPage : <function>
    }
}
elements sidebar content: f0: "object"f1: undefinedf2: nullf3: {}f4: []f5: ["aa", "bb", "cc"]f6: {f60: 42, f61: "foo", f62: []}f7: 42
RUNNING TEST: extension_testElementsSidebarSetPage
Call createSidebarPane for elements
Sidebar created
{
    onHidden : {
        addListener : <function>
        removeListener : <function>
    }
    onShown : {
        addListener : <function>
        removeListener : <function>
    }
    setExpression : <function>
    setHeight : <function>
    setObject : <function>
    setPage : <function>
}
RUNNING TEST: extension_testSourcesSidebarPageReplacedWithObject
Got onShown(), frame defined
Got onShown(), frame not defined
RUNNING TEST: extension_testSourcesSidebarSetExpression
sources sidebar content: titlef0: "expression"f1: undefinedf2: nullf3: {}f4: []f5: (3) ['aa', 'bb', 'cc']f6: {f60: 42, f61: 'foo', f62: Array(0)}f7: 42f8: Foo {bar: 1}f9: HTMLCollection []f10: ƒ ()[[Prototype]]: Object
RUNNING TEST: extension_testSourcesSidebarSetExpressionOnShown
setExpression onShown frame: undefined
RUNNING TEST: extension_testSourcesSidebarSetObject
Watch sidebar created, callback arguments dump follows:
{
    0 : {
        onHidden : {
            addListener : <function>
            removeListener : <function>
        }
        onShown : {
            addListener : <function>
            removeListener : <function>
        }
        setExpression : <function>
        setHeight : <function>
        setObject : <function>
        setPage : <function>
    }
}
sources sidebar content: f0: "object"f1: undefinedf2: nullf3: {}f4: []f5: ["aa", "bb", "cc"]f6: {f60: 42, f61: "foo", f62: []}f7: 42
RUNNING TEST: extension_testSourcesSidebarSetPage
Call createSidebarPane for sources
Sidebar created
{
    onHidden : {
        addListener : <function>
        removeListener : <function>
    }
    onShown : {
        addListener : <function>
        removeListener : <function>
    }
    setExpression : <function>
    setHeight : <function>
    setObject : <function>
    setPage : <function>
}
sidebar height 150
All tests done.