Closed Bug 561664 Opened 11 years ago Closed 9 years ago
.active Element should never return native anonymous content
Currently document.activeElement may return the input element inside type="file". Content JS gets then an exception when it tries to access the element.
Comment on attachment 620830 [details] [diff] [review] patch https://tbpl.mozilla.org/?tree=Try&rev=52113d2992a5
Attachment #620830 - Flags: review? → review?(enndeakin)
Bah, the patch revealed another bug.
Neil, the patch doesn't change the focusing behavior, but it is just that test_bug430351.html tests currently the_native_anon_button_inside_file_input != <input type="file"> With the patch that becomes <input type="file"> != <input type="file">
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.