Closed Bug 349705 Opened 20 years ago Closed 20 years ago

In <wizard.xml>, Strict "Warning: function cancel does not always return a value"

Categories

(Core :: XUL, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.8final

People

(Reporter: sgautherie, Assigned: sgautherie)

References

Details

(Keywords: fixed-seamonkey1.1b, fixed1.8.1, Whiteboard: [verified-seamonkey1.1b])

Attachments

(2 obsolete files)

[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1b2) Gecko/20060821 SeaMonkey/1.1a] (candidates-1.1a, 2006082118) (W98SE) When clicking on the "Add Account..." button: [ Warning: function cancel does not always return a value Source File: chrome://global/content/bindings/wizard.xml Line: 274, Column: 7 Source Code: ] (inly the first time in a session !?)
Blocks: 102241
Component: MailNews: Account Manager → XP Toolkit/Widgets
OS: Windows 98 → All
Product: Mozilla Application Suite → Core
Hardware: PC → All
Target Milestone: --- → mozilla1.9alpha
Version: 1.8 Branch → Trunk
The result is only checked at [ 145 <field name="_closeHandler">(function(event) { 146 if (document.documentElement.cancel()) 147 event.preventDefault(); 148 })</field> ] *** I'm wondering on the apparent (and uncommented) redundancy of [ 274 blakeross 1.6 window.close(); 275 hewitt 1.5 window.setTimeout(function() {window.close();}, 1); ]
Assignee: mail → gautheri
Status: NEW → ASSIGNED
Attachment #234985 - Flags: review?(iann_bugzilla)
Comment on attachment 234985 [details] [diff] [review] (Av1-XPFE) <wizard.xml> [Checkin: Comment 3 & 8] This needs to reviewed by someone like biesi or neil
Attachment #234985 - Flags: review?(iann_bugzilla)
Attachment #234985 - Flags: superreview?(neil)
Attachment #234985 - Flags: review?(neil)
Attachment #234985 - Flags: superreview?(neil)
Attachment #234985 - Flags: superreview+
Attachment #234985 - Flags: review?(neil)
Attachment #234985 - Flags: review+
Comment on attachment 234985 [details] [diff] [review] (Av1-XPFE) <wizard.xml> [Checkin: Comment 3 & 8] Checkin: { 2006-08-30 01:43 neil%parkwaycc.co.uk mozilla/xpfe/global/resources/content/bindings/wizard.xml 1.29 } 'approval1.8.1=?': (SeaMonkey only) Trivial JS strict warning fix, no risk.
Attachment #234985 - Attachment description: (Av1-XPFE) <wizard.xml> → (Av1-XPFE) <wizard.xml> [Checkin: Comment 3]
Attachment #234985 - Flags: approval1.8.1?
Port/copy of Av1-XPFE to Toolkit. 'approval1.8.1=?': (Toolkit only) Trivial JS strict warning fix, no risk.
Attachment #236053 - Flags: review?(mconnor)
Attachment #236053 - Flags: approval1.8.1?
Comment on attachment 234985 [details] [diff] [review] (Av1-XPFE) <wizard.xml> [Checkin: Comment 3 & 8] a=schrep for drivers for seamonkey-only change.
Attachment #234985 - Flags: approval1.8.1? → approval1.8.1+
Whiteboard: [checkin needed (1.8 branch): Av1-XPFE]
Comment on attachment 236053 [details] [diff] [review] (Bv1-TK) <wizard.xml> [Checkin: Comment 7 & 9] r+a=me for this trivial fix, thanks Serge!
Attachment #236053 - Flags: review?(mconnor)
Attachment #236053 - Flags: review+
Attachment #236053 - Flags: approval1.8.1?
Attachment #236053 - Flags: approval1.8.1+
Whiteboard: [checkin needed (1.8 branch): Av1-XPFE] → [checkin needed (1.8 branch): Av1-XPFE] [checkin needed (Trunk & 1.8 branch): Bv1-TK]
Comment on attachment 236053 [details] [diff] [review] (Bv1-TK) <wizard.xml> [Checkin: Comment 7 & 9] Checked in on trunk: Checking in toolkit/content/widgets/wizard.xml; /cvsroot/mozilla/toolkit/content/widgets/wizard.xml,v <-- wizard.xml new revision: 1.31; previous revision: 1.30
Comment on attachment 234985 [details] [diff] [review] (Av1-XPFE) <wizard.xml> [Checkin: Comment 3 & 8] Checked in on branch: Checking in xpfe/global/resources/content/bindings/wizard.xml; /cvsroot/mozilla/xpfe/global/resources/content/bindings/wizard.xml,v <-- wizard.xml new revision: 1.24.8.4; previous revision: 1.24.8.3 done
Whiteboard: [checkin needed (1.8 branch): Av1-XPFE] [checkin needed (Trunk & 1.8 branch): Bv1-TK] → [checkin needed (1.8 branch): Bv1-TK]
Attachment #234985 - Attachment description: (Av1-XPFE) <wizard.xml> [Checkin: Comment 3] → (Av1-XPFE) <wizard.xml> [Checkin: Comment 3 & 8]
Attachment #234985 - Attachment is obsolete: true
Attachment #236053 - Attachment description: (Bv1-TK) <wizard.xml> → (Bv1-TK) <wizard.xml> [Checkin: Comment 7]
1.8.0 branch has the same code/bug, but I don't dare ask approvals as I believe this bug does not qualifies. (Anyone else would be free to try.)
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.9alpha → mozilla1.8final
Comment on attachment 236053 [details] [diff] [review] (Bv1-TK) <wizard.xml> [Checkin: Comment 7 & 9] Checkin: { 2006-09-11 09:52 bugzilla%standard8.demon.co.uk mozilla/toolkit/content/widgets/wizard.xml 1.23.2.12 MOZILLA_1_8_BRANCH }
Attachment #236053 - Attachment description: (Bv1-TK) <wizard.xml> [Checkin: Comment 7] → (Bv1-TK) <wizard.xml> [Checkin: Comment 7 & 9]
Attachment #236053 - Attachment is obsolete: true
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1b2) Gecko/20060911 SeaMonkey/1.1b] (nightly) (W98SE) V.Fixed on MOZILLA_1_8_BRANCH.
Keywords: fixed1.8.1
Whiteboard: [checkin needed (1.8 branch): Bv1-TK] → [verified-seamonkey1.1b]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: