Fallout from the diagnostic patch in bug 677964. 59333 INFO TEST-END | /tests/content/events/test/test_bug238987.html | finished in 600ms 59334 INFO TEST-START | /tests/content/events/test/test_bug288392.html 59335 INFO TEST-PASS | /tests/content/events/test/test_bug288392.html | |window| should not have got a blur event, target [object HTMLHeadingElement], id="begin" 59336 ERROR TEST-UNEXPECTED-FAIL | /tests/content/events/test/test_bug288392.html | [onunload] /tests/content/events/test/test_bug238987.html ran additional tests after finish() was called.
Created attachment 628331 [details] [diff] [review] fix Remove the focus/blur event listeners that was added in start(): http://mxr.mozilla.org/mozilla-central/source/content/events/test/test_bug238987.html?force=1#143
Comment on attachment 628331 [details] [diff] [review] fix Sweet.
Why not just document.querySelectorAll("[id]")?
No reason, I just copy-pasted the loop with the addEventListener calls.