Closed Bug 598360 Opened 14 years ago Closed 14 years ago

[SeaMonkey] mochitest-5: failing test_notifications.html and test_prompt.html due to doorhangers

Categories

(Toolkit :: Password Manager, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla2.0b7

People

(Reporter: Callek, Assigned: Callek)

References

(Blocks 1 open bug)

Details

(Whiteboard: [perma-orange] [doorhanger])

Attachments

(1 file, 2 obsolete files)

Attached patch Change the helper functions (obsolete) — Splinter Review
SeaMonkey is failing with:

s: cb-seamonkey-linux-01
5853 ERROR TEST-UNEXPECTED-FAIL | /tests/toolkit/components/passwordmgr/test/test_notifications.html | Got popupNotifications
5860 ERROR TEST-UNEXPECTED-FAIL | /tests/toolkit/components/passwordmgr/test/test_notifications.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - aPopupNote is undefined at http://mochi.test:8888/tests/toolkit/components/passwordmgr/test/notification_common.js:23
5871 ERROR TEST-UNEXPECTED-FAIL | /tests/toolkit/components/passwordmgr/test/test_prompt.html | Got popupNotifications
6122 ERROR TEST-UNEXPECTED-FAIL | /tests/toolkit/components/passwordmgr/test/test_prompt.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - aPopupNote is undefined at http://mochi.test:8888/tests/toolkit/components/passwordmgr/test/notification_common.js:23


Password manager tests depend on doorhanger and not all applications have that

This patch has passed Firefox-Try and I intend to test locally tonight.
Attachment #477169 - Flags: review?(gavin.sharp)
Version: unspecified → Trunk
Comment on attachment 477169 [details] [diff] [review]
Change the helper functions

I think it would be simplest to just disable this test on Seamonkey, since you guys are implementing doorhangers anyway.

I intend to remove the notification bar support from login manager at some point anyway (it's silly to support 3 prompting methods), so there's no advantage to making the tests work both ways.
Attachment #477169 - Flags: review?(gavin.sharp) → review-
Attached patch v2 (obsolete) — Splinter Review
I didn't find this a good choice, but its not necessarily a bad choice. I decided it wasn't worth trying to pick out the dependant files and just remove the main test files. While here I figured it easiest to kill off the privatebrowsing one as well, even though it doesn't fail on SeaMonkey
Attachment #477169 - Attachment is obsolete: true
Attachment #478990 - Flags: review?(dolske)
Attached patch v2.1Splinter Review
better still, change autoconf.mk to config.mk (which does pull in autoconf) This way we also get the clearer MOZ_SUITE from app-config.mk
Attachment #478990 - Attachment is obsolete: true
Attachment #478997 - Flags: review?(dolske)
Attachment #478990 - Flags: review?(dolske)
Comment on attachment 478997 [details] [diff] [review]
v2.1

...and this actually is more build-config that passwordmanager at this point, so additional-review-requesting khuey
Attachment #478997 - Flags: review?(khuey)
Should these be ifeq ($(MOZ_BUILD_APP),browser)?  Do these tests make sense for Fennec?
Attachment #478997 - Flags: review?(dolske)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
OS: Windows XP → All
Hardware: x86 → All
Target Milestone: --- → mozilla2.0b7
Whiteboard: [sm-perma][orange] → [sm-perma][orange][doorhanger]
Status: RESOLVED → VERIFIED
(In reply to Justin Wood (:Callek) from comment #6)
> http://hg.mozilla.org/mozilla-central/rev/12c86c62af80

+
http://hg.mozilla.org/mozilla-central/rev/db37d1272fbf
"use topsrcdir instead of DEPTH"
Whiteboard: [sm-perma][orange][doorhanger] → [perma-orange] [doorhanger]
(In reply to TinderboxPushlog Robot from comment #7)
> mitchell.field%live.com.au
> http://tinderbox.mozilla.org/showlog.cgi?log=Build-System/1299089822.
> 1299090477.15909.gz

Not SeaMonkey, Doesn't look like this bug...
No longer blocks: 716404
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: