TEST-UNEXPECTED-FAIL | [snip]/mozmill/pref-window/test-font-chooser.js (port bug 1553804)
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
People
(Reporter: jorgk-bmo, Assigned: jorgk-bmo)
Details
Attachments
(1 file, 3 obsolete files)
1.03 KB,
patch
|
aceman
:
review+
aceman
:
feedback+
|
Details | Diff | Splinter Review |
TEST-UNEXPECTED-FAIL | /Users/cltbld/tasks/task_1569065556/build/tests/mozmill/pref-window/test-font-chooser.js | test-font-chooser.js::test_font_name_displayed
TEST-UNEXPECTED-FAIL | /Users/cltbld/tasks/task_1569065556/build/tests/mozmill/pref-window/test-font-chooser.js | test-font-chooser.js::test_font_name_not_present
TEST-UNEXPECTED-FAIL | /Users/cltbld/tasks/task_1569065556/build/tests/mozmill/preferences/testCategoryColors.js | testCategoryColors.js::testCategoryColors
Some changes related to preferences:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=c221a75fbf2957b6254fedb96436b5efbf&tochange=5ac55079c87e4cd25eafafa8662594b4a2
Aceman, that looks like some weekend workout :-(
Once I get my local build past bug 1582937 (with a backout), I'll take a look.
From the range, it could be:
Zibi Braniecki — Bug 1435915 - Remove preferences.properties. r=fluent-reviewers,Gijs,flod
Richard, do we need to restore something there? Even if you don't run tests, you can try the font chooser.
Assignee | ||
Comment 1•5 years ago
|
||
Yes, we use preferences.properties
https://searchfox.org/comm-central/search?q=moz.*preferences.properties&case=false®exp=true&path=
If they are gone, there won't be much fun.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Hmm, that ports what I said, but I now see:
console.warn: "[fluent] Missing translations in en-US: forms-master-pw-fips-title, forms-master-pw-fips-desc."
Somehow we need to haul in the Fluent stuff.
Also I get:
Chrome file doesn't exist: C:\mozilla-source\comm-central\obj-x86_64-pc-mingw32
dist\bin\chrome\messenger\content\messenger\preferences\security.js
Failed to load file:///C:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/dist
/bin/chrome/messenger/content/messenger/preferences/security.js
and when clicking the advanced button for the fonts:
JavaScript error: chrome://messenger/content/preferences/subdialogs.js, line 108
: NS_ERROR_ILLEGAL_VALUE
There's a bunch of stuff broken here :-(
Assignee | ||
Comment 4•5 years ago
|
||
Looks we can combine M-C's Fluent pref strings and out old fashioned ones, so I've copied the strings for the time being.
Assignee | ||
Comment 5•5 years ago
|
||
preferences/security.js really does't exist. Perhaps a left-over from the prefs reshuffle.
Removing the script leaves me with:
JavaScript error: chrome://messenger/content/preferences/subdialogs.js, line 108: NS_ERROR_ILLEGAL_VALUE
That's where the subdialog is opened. Other dialogues don't open either, like the Config Editor, but that's not covered by a test like the font chooser.
Assignee | ||
Comment 6•5 years ago
|
||
OK, the second issue comes from
Kris Maglione — Bug 1553804: Part 1 - Don't allow opening content windows with chrome openers. r=nika
Console says:
[720, Main Thread] WARNING: Chrome windows may never have content windows as their openers.: file c:/mozilla-source/comm-central/toolkit/components/windowwatcher/nsWindowWatcher.cpp, line 744
And the new code is:
https://hg.mozilla.org/mozilla-central/rev/0a4107e9e2af35b7db7cee4d180d6af3b3515af4#l1.17
We open the window here:
https://searchfox.org/comm-central/rev/db83c81aa34745e2149efb001739b9830af1dd45/mail/components/preferences/subdialogs.js#108
But the equivalent M-C code isn't much different:
https://searchfox.org/mozilla-central/rev/e18057a9613ffda06dfd3640209ca234ed7dc37d/browser/components/preferences/in-content/subdialogs.js#104
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
OK, this is a bit messy now since I'm mixing two ports here, but I don't feel like opening yet another bug on a Sunday.
Assignee | ||
Comment 10•5 years ago
|
||
Even messier, as bug 1435915 just got backed out.
Assignee | ||
Comment 11•5 years ago
|
||
Straight port of
https://hg.mozilla.org/integration/mozilla-inbound/rev/56c14ca1d9e89633d4e635d77fdf44e1cc6d75dc#l1.12
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/92eb7cad1116
Port bug 1553804: Add chrome=no when opening preferences subdialogs. rs=bustage-fix DONTBUILD
Assignee | ||
Comment 14•5 years ago
|
||
Yes, that was the whole patch. I landed that now since the font chooser looks perfectly healthy to me. I've also run the two tests mentioned in comment #0 locally.
Have you pulled M-C after 3:40:08 PM when bug 1435915 got backed out? You need bug 1582961 if you haven't pulled. Or what else are you missing?
I'm going to retrigger a Daily since not being able to open subdialogues isn't so much fun.
Comment 15•5 years ago
|
||
Description
•