Closed
Bug 727929
Opened 12 years ago
Closed 12 years ago
test_idcheck.xul > preferences.xul: doubled 'languageBundle' and 'regionBundle'
Categories
(SeaMonkey :: Preferences, defect, P2)
SeaMonkey
Preferences
Tracking
(seamonkey2.9 verified)
VERIFIED
FIXED
seamonkey2.10
Tracking | Status | |
---|---|---|
seamonkey2.9 | --- | verified |
People
(Reporter: sgautherie, Assigned: InvisibleSmiley)
References
(Blocks 1 open bug)
Details
(Keywords: regression, Whiteboard: [perma-orange])
Attachments
(1 file)
12.71 KB,
patch
|
iannbugzilla
:
review+
InvisibleSmiley
:
approval-comm-aurora+
|
Details | Diff | Splinter Review |
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1329215161.1329219819.16122.gz WINNT 5.2 comm-central-trunk debug test mochitest-other on 2012/02/14 02:26:01 { Double id='languageBundle' detected in chrome://communicator/content/pref/preferences.xul: Tree 0: stringbundle languageBundle [0] prefpane spelling_pane [10] prefwindow prefDialog [27] #document undefined [0] Tree 1: stringbundle languageBundle [0] prefpane composing_messages_pane [23] prefwindow prefDialog [27] #document undefined [0] 18104 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/suite/common/tests/chrome/test_idcheck.xul | check id: preferences.xul#languageBundle Double id='regionBundle' detected in chrome://communicator/content/pref/preferences.xul: Tree 0: stringbundle regionBundle [1] prefpane spelling_pane [10] prefwindow prefDialog [27] #document undefined [0] Tree 1: stringbundle regionBundle [1] prefpane composing_messages_pane [23] prefwindow prefDialog [27] #document undefined [0] 18105 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/suite/common/tests/chrome/test_idcheck.xul | check id: preferences.xul#regionBundle } http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey-Aurora/1329290562.1329294861.20808.gz OS X 10.5 comm-aurora debug test mochitest-other on 2012/02/14 23:22:42 too. http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey-Beta/1329367905.1329371576.30324.gz OS X 10.5 comm-beta debug test mochitest-other on 2012/02/15 20:51:45 is not affected. *** http://mxr.mozilla.org/comm-central/search?string=languageBundle&case=1&find=%2Fsuite%2F.*%2Fpref.*\.xul%24 http://mxr.mozilla.org/comm-central/search?string=regionBundle&case=1&find=%2Fsuite%2F.*\.xul%24 Bug 527173 duplicated them.
Flags: in-testsuite-
Assignee | ||
Comment 1•12 years ago
|
||
pref-appearance.xul is similar but lucky enough to not have duplicates right now: <stringbundleset id="prefAppearanceBundleset"> <stringbundle id="langNamesBundle" src="chrome://global/locale/languageNames.properties"/> <stringbundle id="regNamesBundle" src="chrome://global/locale/regionNames.properties"/> </stringbundleset> I suggest we prefix all 3x2 = 6 occurrences, e.g. prefAppearanceLangNamesBundle prefAppearanceRegNamesBundle and introduce stringbundlesets for pref-composing_messages.xul and pref-spelling.xul while we're here. Or maybe I know too less about the preferences window code and there's a chance to only have the stringbundles once, globally?
(In reply to Jens Hatlak (:InvisibleSmiley) from comment #1) > and introduce stringbundlesets for pref-composing_messages.xul and > pref-spelling.xul while we're here. Yes please. > > Or maybe I know too less about the preferences window code and there's a > chance to only have the stringbundles once, globally? Yes, they can be loaded in preferences.xul and then just referenced from there.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jh
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•12 years ago
|
||
I decided to fix all pref-* stuff while we're here, but not change other IDs like bundle_prefutilities (used quite often and maybe also by add-ons).
Attachment #598644 -
Flags: review?(iann_bugzilla)
Comment on attachment 598644 [details] [diff] [review] patch [Checkin: Comments 5 and 11] >+++ b/suite/common/pref/preferences.xul >+ <stringbundleset id="prefBundleset"> >+ <stringbundle id="bundle_prefutilities" >+ src="chrome://communicator/locale/pref/prefutilities.properties"/> >+ </stringbundleset> >+ >+ <stringbundleset id="langRegionNamesBundleset"> >+ <stringbundle id="languageNamesBundle" >+ src="chrome://global/locale/languageNames.properties"/> >+ <stringbundle id="regionNamesBundle" >+ src="chrome://global/locale/regionNames.properties"/> >+ </stringbundleset> I don't think these need to be in separate bundlesets, so just have then in the one "prefBundleset" r=me with that change. I presume that test_idcheck.xul no longer fails with this patch applied?
Attachment #598644 -
Flags: review?(iann_bugzilla) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 598644 [details] [diff] [review] patch [Checkin: Comments 5 and 11] http://hg.mozilla.org/comm-central/rev/3b59be34ef07 (In reply to Ian Neal from comment #4) > I presume that test_idcheck.xul no longer fails with this patch applied? Have a little faith! :-)
Assignee | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•12 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1329715249.1329720463.9120.gz Linux comm-central-trunk debug test mochitest-other on 2012/02/19 21:20:49 V.Fixed
Status: RESOLVED → VERIFIED
Reporter | ||
Updated•12 years ago
|
Attachment #598644 -
Flags: approval-comm-aurora?
Comment 7•12 years ago
|
||
I wonder whether it's worth overlaying prefBundleset with stringbundles rather than having separate stringbundlesets inside the prefpanes? That way the ids would simply merge together in the same element.
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to neil@parkwaycc.co.uk from comment #7) > I wonder whether it's worth (...) No idea, give it a try (or ask Ian specifically)! I'm not opposed to it.
Reporter | ||
Comment 9•12 years ago
|
||
Ping for approval.
Assignee | ||
Comment 10•12 years ago
|
||
Comment on attachment 598644 [details] [diff] [review] patch [Checkin: Comments 5 and 11] Safe, no l10n changes, baked on trunk, verified, fixes perma-orange -> a=me.
Attachment #598644 -
Flags: approval-comm-aurora? → approval-comm-aurora+
Assignee | ||
Comment 11•12 years ago
|
||
Comment on attachment 598644 [details] [diff] [review] patch [Checkin: Comments 5 and 11] http://hg.mozilla.org/releases/comm-aurora/rev/d823d69dddab
Attachment #598644 -
Attachment description: patch → patch [Checkin: Comments 5 and 11]
Assignee | ||
Updated•12 years ago
|
tracking-seamonkey2.9:
? → ---
Reporter | ||
Comment 12•12 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey-Aurora/1331351814.1331355679.24663.gz OS X 10.5 comm-aurora debug test mochitest-other on 2012/03/09 19:56:54 seamonkey2.9: verified.
You need to log in
before you can comment on or make changes to this bug.
Description
•