1 <script src=
"../../resources/testharness.js"></script>
2 <script src=
"../../resources/testharnessreport.js"></script>
6 var test
= async_test('Do not cause an assertion failure in Document::setFocusedElement.');
7 window
.onload = function() {
8 var input
= document
.querySelector('input');
9 input
.onfocus = function() { test
.done(); };
10 test
.step(function() {
11 document
.body
.addEventListener('focusout', function() {
14 document
.body
.focus();