Closed Bug 1448026 Opened 6 years ago Closed 6 years ago

TEST-UNEXPECTED-FAIL | [snip]/mozmill/content-tabs/test-about-support.js | test-about-support.js::test_copy_to_clipboard_public

Categories

(Thunderbird :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 61.0

People

(Reporter: jorgk-bmo, Assigned: aceman)

References

Details

Attachments

(2 files)

See here:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=9075c6294d33cca92e8397ca434c9ee12656860a

INFO -  SUMMARY-UNEXPECTED-FAIL | test-about-support.js | test-about-support.js::test_copy_to_clipboard_public
INFO -    EXCEPTION: Found "undefined" in flavor "text/unicode"

INFO -  SUMMARY-UNEXPECTED-FAIL | test-about-support.js | test-about-support.js::test_copy_to_clipboard_private
INFO -    EXCEPTION: Found "undefined" in flavor "text/unicode"

Or maybe we need to port something.
Flags: needinfo?(richard.marti)
Flags: needinfo?(acelists)
Oops, did I just report a duplicate of bug 1373809? I've never seen this on Mac.
I have only a port of bug 1440573 in my queue that I know has changed in aboutSupport. I'm waiting until the policies shim bug lands for this one.
Flags: needinfo?(richard.marti)
Well, this is new:
M-C last good: 3aa5d07146382
M-C first bad, try run based on M-C rev f82d56c64966:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3aa5d07146382&tochange=f82d56c64966

I'm sure Aceman can find it.
Summary: SUMMARY-UNEXPECTED-FAIL | test-about-support.js | test-about-support.js::test_copy_to_clipboard_public → TEST-UNEXPECTED-FAIL | [snip]/mozmill/content-tabs/test-about-support.js | test-about-support.js::test_copy_to_clipboard_public
In bug 1447611 they removed info about Stylo support from Troubleshoting.jsm. about:troubleshooting now shows Stylo content=undefined, chrome=undefined. Our tests check for this :)
This output is also in Firefox Nightly, so it seems they forgot to remove the Stylo display from aboutSupport.xhtml/.js yet. We should watch when they make that change to port it.

I'll see why the test didn't catch this already in test_display_about_support() which also checks for "undefined".
Blocks: 1447611
Flags: needinfo?(acelists)
OS: Unspecified → All
Hardware: Unspecified → All
Version: unspecified → Trunk
(In reply to :aceman from comment #4)
> I'll see why the test didn't catch this already in
> test_display_about_support() which also checks for "undefined".

Looks like I intentionally did this change in the past that this test only checks if the whole value of an element (e.g. a table cell) equals 'undefined' or 'null', not if it just contains it. The other tests that fail now do check if the string is included anywhere in text.

So it looks like the tests are fine as they are.
Attached patch 1448026.patchSplinter Review
You can either land this to fix the test (and m-c can port it :)), disable the test, or wait for what toolkit comes up so we can port it.

We want to have exact code in this file to what m-c has so even if we land our version first and they make their patch slightly different, we will then sync us to them.
Assignee: nobody → acelists
Status: NEW → ASSIGNED
Attachment #8961576 - Flags: review?(jorgk)
Comment on attachment 8961576 [details] [diff] [review]
1448026.patch

That's exactly what bug 1448173 is removing. Thanks!
Attachment #8961576 - Flags: review?(jorgk) → review+
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/08a17fa4b78b
Port bug 1448173: remove Stylo information from aboutSupport.*. r=jorgk
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Sorry about the hasty landing and re-badging that as port when M-C removed more code. My mistake.
Target Milestone: --- → Thunderbird 61.0
Attached patch 1448026-2.patchSplinter Review
Removed the leftover function to sync with the m-c patch.
Attachment #8961590 - Flags: review?(jorgk)
Comment on attachment 8961590 [details] [diff] [review]
1448026-2.patch

Thanks, sorry about the extra hassle.
Attachment #8961590 - Flags: review?(jorgk) → review+
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/8f0bfcf717a0
Port bug 1448173: remove getReasonStringName() from aboutSupport.js. r=jorgk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: