Closed
Bug 660809
Opened 13 years ago
Closed 13 years ago
about:license on Thunderbird
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(blocking-thunderbird5.0 beta2+, thunderbird5.0 beta2-fixed, thunderbird6 fixed)
VERIFIED
FIXED
Thunderbird 7.0
Tracking | Status | |
---|---|---|
blocking-thunderbird5.0 | --- | beta2+ |
thunderbird5.0 | --- | beta2-fixed |
thunderbird6 | --- | fixed |
People
(Reporter: baffclan, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
4.46 KB,
patch
|
protz
:
review+
standard8
:
approval-comm-aurora+
standard8
:
approval-thunderbird5.0+
|
Details | Diff | Splinter Review |
Steps to Reproduce:
1. Start Thunderbird
2. Help -> About Shredder
3. apear about dialog
4. click "Licensing Information"
5. Opan about:license on new tab
6. Click "Mozilla Public License" link on about:license
Actual Results:
Apear "Lanch Application"
Expected Results:
Jamp to Mozilla Public License(#mpl)
Updated•13 years ago
|
OS: Windows XP → All
Hardware: x86 → All
Assignee | ||
Updated•13 years ago
|
blocking-thunderbird5.0: --- → needed
Assignee | ||
Updated•13 years ago
|
blocking-thunderbird5.0: needed → beta2+
Assignee | ||
Comment 1•13 years ago
|
||
This fixes both this and bug 659527.
I did a cut-down function so that we could use the specialTabs.aboutClickHandler, and made sure we'd covered all the links.
I tested the manual download link changes by replacing "noUpdatesFound" in onCheckComplete with "manualUpdate" and "downloadFailed".
Assignee: nobody → mbanner
Status: NEW → ASSIGNED
Attachment #537792 -
Flags: review?(jonathan.protzenko)
Comment 2•13 years ago
|
||
Comment on attachment 537792 [details] [diff] [review]
The fix (for Miramar/Aurora)
Review of attachment 537792 [details] [diff] [review]:
-----------------------------------------------------------------
So I'm giving r- because I don't think it's such a good idea to go duplicating similar functions all over the place, but I'm willing to discuss this over IRC :-).
::: mail/base/content/aboutDialog.js
@@ +88,3 @@
> #endif
> }
>
The function below basically copies everything from openContentTab: http://mxr.mozilla.org/comm-central/source/mail/base/content/utilityOverlay.js#231
Couldn't we just factor out the two into some common function that takes an third parameter that could be either { type: "about" } or { type: "content", regexp: theRegExp }...? I'm not that enthusiastic about happily duplicating code.
We could redirect both openAboutTab and openContentTab to be calls to third function with the right parameters.
::: mail/base/content/aboutDialog.xul
@@ +67,4 @@
> >
>
> <script type="application/javascript" src="chrome://messenger/content/aboutDialog.js"/>
> + <script type="application/javascript" src="chrome://messenger/content/specialTabs.js"/>
Nit: this does not seem to be aligned.
Attachment #537792 -
Flags: review?(jonathan.protzenko) → review-
Comment 3•13 years ago
|
||
Oh and I tested this of course and this fixes both this bug and bug 659527
Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 537792 [details] [diff] [review]
The fix (for Miramar/Aurora)
I'm appealing ;-) I agree with re-using the function, but I think for Miramar, and possibly Aurora, I don't want to change that function definition in utilityOverlay. Whilst I suspect no add-ons are using it yet, I'd just prefer not to just in case.
Attachment #537792 -
Attachment description: The fix → The fix (for Miramar/Aurora)
Attachment #537792 -
Flags: review- → review?(jonathan.protzenko)
Comment 5•13 years ago
|
||
Comment on attachment 537792 [details] [diff] [review]
The fix (for Miramar/Aurora)
Alright :-). Can you create a followup bug for factoring the two functions? You can assign to me if you wish.
Attachment #537792 -
Flags: review?(jonathan.protzenko) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Filed bug 663112 on the follow-up.
Checked in: http://hg.mozilla.org/comm-central/rev/08be6ad1285b
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 7.0
Assignee | ||
Updated•13 years ago
|
Attachment #537792 -
Flags: approval-thunderbird5.0+
Attachment #537792 -
Flags: approval-comm-aurora?
Assignee | ||
Comment 7•13 years ago
|
||
Checked into comm-miramar: http://hg.mozilla.org/releases/comm-miramar/rev/d29fdf070fe0
status-thunderbird5.0:
--- → beta2-fixed
Thanks for fixing this.
cannot reproduce with :
Shredder-20110611/WinVista, WinXP
Miramar-20110612/WinVista
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 9•13 years ago
|
||
Checked into aurora: http://hg.mozilla.org/releases/comm-aurora/rev/45330ef6aa2a
status-thunderbird6:
--- → fixed
Assignee | ||
Updated•13 years ago
|
Attachment #537792 -
Flags: approval-comm-aurora? → approval-comm-aurora+
You need to log in
before you can comment on or make changes to this bug.
Description
•