mirror of
https://github.com/servo/servo
synced 2026-04-29 02:47:55 +02:00
29 lines
953 B
HTML
29 lines
953 B
HTML
<!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> |