3 <div tabindex=
"0" onclick=
"this.disabled = true;" id=
"target">div
</div>
4 <script src=
"../../resources/js-test.js"></script>
7 var target
= document
.getElementById('target');
9 shouldBe('document.activeElement', 'target');
10 debug('Remove tabindex.');
11 window
.onload = function() {
12 target
.addEventListener('blur', function() {
13 testPassed('blur event was disaptched.');
17 // Need to wait until CheckFocusedElementTask is unqueued.
18 setTimeout(function() {
19 target
.removeAttribute('tabindex');
21 setTimeout(function() {
22 testFailed('No blur event');