3 <a href=
"javascript:" id=
"target">link
</a>
4 <script src=
"../../../resources/js-test.js"></script>
7 var target
= document
.getElementById('target');
9 shouldBe('document.activeElement', 'target');
10 debug('Remove href.');
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('href');
21 setTimeout(function() {
22 testFailed('No blur event');