Closed
Bug 789674
Opened 12 years ago
Closed 12 years ago
Update about:support to use Troubleshoot.jsm
Categories
(Toolkit :: General, defect)
Toolkit
General
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: adw, Assigned: adw)
References
Details
Attachments
(1 file)
(deleted),
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
about:support should be updated to use the snapshot data from Troubleshoot.jsm.
This patch also adds a "Copy raw data to clipboard" button and keeps the current copy button but renames it "Copy text to clipboard".
Attachment #659454 -
Flags: review?(felipc)
Comment 1•12 years ago
|
||
Comment on attachment 659454 [details] [diff] [review]
patch
Review of attachment 659454 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/content/aboutSupport.js
@@ +212,3 @@
> }
>
> +function copyRawDataToClipboard(button) {
are the "if (button)" checks necessary? and what could fail in this function to require a try catch?
::: toolkit/locales/en-US/chrome/global/aboutSupport.dtd
@@ +59,5 @@
>
> <!ENTITY aboutSupport.installationHistoryTitle "Installation History">
> <!ENTITY aboutSupport.updateHistoryTitle "Update History">
>
> +<!ENTITY aboutSupport.copyToClipboard.label "Copy text to clipboard">
need to change entity name due to string change
Attachment #659454 -
Flags: review?(felipc) → review+
Comment 2•12 years ago
|
||
Obs.: I'm assuming the addition of the new button was discussed with support and they want to have both buttons there
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to :Felipe Gomes from comment #1)
> > +function copyRawDataToClipboard(button) {
>
> are the "if (button)" checks necessary?
The function could conceivably be called without passing in a button.
> and what could fail in this function to require a try catch?
Probably nothing, but a failure shouldn't cause the button to remain disabled.
(In reply to :Felipe Gomes from comment #2)
> Obs.: I'm assuming the addition of the new button was discussed with support
> and they want to have both buttons there
I didn't discuss the buttons with them, and nobody's responded to all the recent updates to bug 554174.
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Comment 6•12 years ago
|
||
Comment on attachment 659454 [details] [diff] [review]
patch
>+ return strings.formatStringFromName(nameOrMsg, msgArray,
>+ msgArray.length);
There's an assertion that fires when there are no format string...
You need to log in
before you can comment on or make changes to this bug.
Description
•