Closed Bug 894509 Opened 11 years ago Closed 11 years ago

l10n failure in testTabbedBrowser/testNewTab.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(firefox22 fixed, firefox23 fixed, firefox24 fixed, firefox25 fixed, firefox-esr17 fixed)

RESOLVED FIXED
Tracking Status
firefox22 --- fixed
firefox23 --- fixed
firefox24 --- fixed
firefox25 --- fixed
firefox-esr17 --- fixed

People

(Reporter: u279076, Assigned: andrei)

Details

(Whiteboard: [mozmill-test-failure])

Attachments

(1 file)

I tried running the Beta automation against more locales this week which resulted in a few failures which seem to be text-case issues...

Firefox 23.0b6#1 pt-PT
> Correct tab title - 'Novo Separador' should equal 'Novo separador'
> http://mozmill-ondemand.blargon7.com/#/functional/report/5aa1ca5e7015e3740d269dc9478565e4

Firefox 23.0b6#1 zu
> Correct tab title - 'I-thebhu entsha' should equal 'Isigqebhe Esisha'
> http://mozmill-ondemand.blargon7.com/#/functional/report/5aa1ca5e7015e3740d269dc947853c77

Firefox 23.0b6#1 sr
> Correct tab title - 'New Tab' should equal 'Нови језичак'
> http://mozmill-ondemand.blargon7.com/#/functional/report/5aa1ca5e7015e3740d269dc947857557

Firefox 23.0b6#1 es-MX
> Correct tab title - 'Pestaña nueva' should equal 'Nueva pestaña' 
> http://mozmill-ondemand.blargon7.com/#/functional/report/5aa1ca5e7015e3740d269dc94785daea
Whiteboard: [mozmill-test-failure]
This test is skipped in Aurora and Nightly as per bug 879752
We might check the wrong label in this test.
Still needs some digging, but it looks like we should check the newtab.pageTitle instead of tabs.emptyTabTitle

http://mxr.mozilla.org/l10n-central/source/pt-PT/browser/chrome/browser/newTab.dtd#6
Assignee: nobody → andrei.eftimie
Status: NEW → ASSIGNED
My hunch was correct.
We missed this because for [most?] locales (or at least for the ones we usually test agains) the strings are identical.

See German for example:
http://mxr.mozilla.org/l10n-central/source/de/browser/chrome/browser/tabbrowser.properties#18
http://mxr.mozilla.org/l10n-central/source/de/browser/chrome/browser/newTab.dtd#6

But for the ones that failed mentioned in this bug they are not:
http://mxr.mozilla.org/l10n-central/source/pt-PT/browser/chrome/browser/tabbrowser.properties#16
http://mxr.mozilla.org/l10n-central/source/pt-PT/browser/chrome/browser/newTab.dtd#6

And when we open a new tab, the "newtab.pageTitle" is actually used:
http://mxr.mozilla.org/mozilla-central/source/browser/base/content/newtab/newTab.xul#18
Firefox 23.0 (23.0, es-MX, 20130718163513) on Windows NT 5.1.2600 Service Pack 3 (x86):
http://mozmill-release.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d611ead25
Firefox 23.0 (23.0, sr, 20130718163513) on Windows NT 6.1.7601 Service Pack 1 (x86):
http://mozmill-release.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d611e7d5b

Firefox 23.0 (23.0, es-MX, 20130718163513) on Windows NT 6.2.9200 (x86):
http://mozmill-release.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d611e9b04

Firefox 23.0 (23.0, pt-PT, 20130718163513) on Windows NT 6.1.7601 Service Pack 1 (x86_64):
http://mozmill-release.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d611e861d

Firefox 23.0 (23.0, pt-PT, 20130718163513) on Linux Ubuntu 12.10 (x86_64):
http://mozmill-release.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d611e43ba

Firefox 23.0 (23.0, zu, 20130718163513) on Linux Ubuntu 12.10 (x86):
http://mozmill-release.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d611e179b

Firefox 23.0 (23.0, zh-CN, 20130718163513) on Linux Ubuntu 12.04 (x86_64):
http://mozmill-release.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d611e340a

Firefox 23.0 (23.0, zu, 20130718163513) on Linux Ubuntu 12.04 (x86_64):
http://mozmill-release.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d611e4351
OS: Linux → All
Hardware: x86_64 → All
Comment on attachment 777121 [details] [diff] [review]
patch v1

Review of attachment 777121 [details] [diff] [review]:
-----------------------------------------------------------------

Landed on default, I'll backport soon to the other branches as well:
http://hg.mozilla.org/qa/mozmill-tests/rev/afa27ffc8d8a (default)
Attachment #777121 - Flags: review?(andreea.matei) → review+
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: