[Bug 1194236] [NEW] Setting the lang attribute on a textarea element or document doesn't always result in the correct spellcheck language being selected

Chris Coulson chris.coulson at canonical.com
Mon Jun 24 18:55:11 UTC 2013


Public bug reported:

This was picked up by
editor/composer/test/test_async_UpdateCurrentDictionary.html chrome
mochitest failure. The test was introduced here http://hg.mozilla.org
/mozilla-central/rev/8f48c49425ab , but I suspect the issue is not
actually a new one. The test log looks like:

10543 INFO TEST-START | chrome://mochitests/content/chrome/editor/composer/test/test_async_UpdateCurrentDictionary.html
10544 INFO TEST-PASS | chrome://mochitests/content/chrome/editor/composer/test/test_async_UpdateCurrentDictionary.html | Inline spell checker should exist after focus and spell check
10545 INFO TEST-PASS | chrome://mochitests/content/chrome/editor/composer/test/test_async_UpdateCurrentDictionary.html | Current dictionary should not be set yet.
10546 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/editor/composer/test/test_async_UpdateCurrentDictionary.html | UpdateCurrentDictionary should set the current dictionary. - got , expected en-US 

The issue is that the language is set to "en-US", which doesn't
correctly map to "en_US" (the dictionaries are keyed by filename). I'm
sure a workaround for a similar bug has already been added elsewhere in
Firefox

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: moz-test-failure

** Tags added: moz-test-failure

-- 
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/1194236

Title:
  Setting the lang attribute on a textarea element or document doesn't
  always result in the correct spellcheck language being selected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1194236/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list