[Bug 303269]

Dao 303269 at bugs.launchpad.net
Fri Jul 29 23:08:22 UTC 2011


(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 Mozilla
Bugs, which is subscribed to firefox in 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




More information about the Ubuntu-mozillateam-bugs mailing list