(In reply to comment #71) > ::: layout/reftests/editor/338427-2.html > @@ +6,5 @@ > > + editor.focus(); > > + window.setTimeout(function() { > > + editor.blur(); > > + document.documentElement.className = ''; > > + }, 1000); // XXX: 0 timeout is not enought to trigger a focus event. > > Change this to: > > setTimeout(function() { > setTimeout(function() { > editor.blur(); > document.... > }, 0); > }, 0); > > ::: layout/reftests/editor/338427-3.html > @@ +7,5 @@ > > + editor.focus(); > > + window.setTimeout(function() { > > + editor.blur(); > > + document.documentElement.className = ''; > > + }, 1000); // XXX: 0 timeout is not enought to trigger a focus event. > > Same thing here.
Err, why isn't this using focus event listeners? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/303269 Title: Automatically select language for spell check based on user input To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/303269/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs