summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/the-window-object/the-windowproxy-object/test-window-proxy-toolbar-manual.html
blob: ba465443151f91569fccce0f4df380859341504c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
    <title>WindowProxy toolbar visible flag Test</title>
    <link rel="author" title="dokenzy" href="dokenzy@gmail.com">
    <script type="text/javascript" src="/resources/testharness.js"></script>
    <script type="text/javascript" src="/resources/testharnessreport.js"></script>
</head>
<body>
    <h1>Description</h1>
    <p>WindowProxy.toolbar Test</p>

    <h1>Manual Test Steps:</h1>
    <ol>
        <li>Make the toolbar visible in the user agent before executing this test.</li>
        <li>You may need to manually reload afterwards.</li>
    </ol>

    <div id="log"></div>

    <script type="text/javascript" >
    test(function () {
        assert_not_equals(typeof window.toolbar.visible, undefined, 'window.toolbar.visible');
        assert_true(window.toolbar.visible, 'window.toolbar.visible');
    }, "BarProp attribute: window.toolbar.visible");
    </script>
</body>
</html>