Closed
Bug 947078
Opened 12 years ago
Closed 12 years ago
Make the "Include URLs" option for the crash reporter into a checkbox instead of a toggle
Categories
(Firefox for Metro Graveyard :: Flyouts, defect, P2)
Tracking
(firefox28 verified, firefox29 verified)
VERIFIED
FIXED
Firefox 29
People
(Reporter: TimAbraldes, Assigned: ally)
References
Details
(Whiteboard: [beta28] [feature] p=2)
Attachments
(1 file, 1 obsolete file)
8.26 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
In bug 903426, we added the ability to strip URLs in crash reports. To match the mockup, the option in our preferences flyout labeled "Include the address of the page I was on" should be a checkbox that grays out if crash reporting is disabled. It is currently a <settings> element.
Updated•12 years ago
|
Blocks: metrov1backlog
Updated•12 years ago
|
Whiteboard: [triage] → [release28]
Updated•12 years ago
|
Whiteboard: [release28] → [release28] p=0
Assignee | ||
Comment 1•12 years ago
|
||
yoink! looks like a good bug to take out any holiday frustration on.
Assignee: nobody → ally
Updated•12 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [release28] p=0 → [block28] p=2
Assignee | ||
Comment 4•12 years ago
|
||
flagged for feedback because the about:config value for autoSubmit doesn't seem to update in about:config but submitURLs behaves as expected. Tim, thoughts?
Attachment #8348428 -
Flags: feedback?(tabraldes)
Reporter | ||
Comment 5•12 years ago
|
||
Comment on attachment 8348428 [details] [diff] [review]
crashurlscheckbox
Review of attachment 8348428 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/metro/base/content/browser.xul
@@ +677,5 @@
> <settings id="prefs-reporting" label="&optionsHeader.reporting.title;">
> <setting pref="app.crashreporter.autosubmit"
> type="bool"
> title="&optionsHeader.reporting.crashes.label;" />
> + <checkbox pref="app.crashreporter.submitURLs"
"pref" has meaning for the <setting> element but not (I think) for the <checkbox> element. I'm pretty sure that's why you're seeing that the "submitURLs" doesn't get updated. I think you'll have to add logic to update the pref whenever this checkbox gets checked/unchecked.
Attachment #8348428 -
Flags: feedback?(tabraldes) → feedback+
Assignee | ||
Comment 6•12 years ago
|
||
(In reply to Tim Abraldes [:TimAbraldes] [:tabraldes] from comment #5)
> Comment on attachment 8348428 [details] [diff] [review]
> crashurlscheckbox
>
> Review of attachment 8348428 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: browser/metro/base/content/browser.xul
> @@ +677,5 @@
> > <settings id="prefs-reporting" label="&optionsHeader.reporting.title;">
> > <setting pref="app.crashreporter.autosubmit"
> > type="bool"
> > title="&optionsHeader.reporting.crashes.label;" />
> > + <checkbox pref="app.crashreporter.submitURLs"
>
> "pref" has meaning for the <setting> element but not (I think) for the
> <checkbox> element. I'm pretty sure that's why you're seeing that the
> "submitURLs" doesn't get updated. I think you'll have to add logic to update
> the pref whenever this checkbox gets checked/unchecked.
You've got them backwards. :) submitURLs is working/updating(the submit urls to crash reporter pref) but not autoSubmit (the general crash reporter pref) which was not altered from its <settings> or even touched in this patch, which is why I am seeking insight. :)
Comment 7•12 years ago
|
||
(In reply to :Ally Naaktgeboren from comment #6)
> You've got them backwards. :) submitURLs is working/updating(the submit urls
> to crash reporter pref) but not autoSubmit (the general crash reporter pref)
> which was not altered from its <settings> or even touched in this patch,
> which is why I am seeking insight. :)
In a build with this patch, I'm seeing what Tim was seeing -- the toggle switch correctly sets the autosubmit pref, but the checkbox has no effect.
Assignee | ||
Comment 8•12 years ago
|
||
talked to mbrubeck about it. He is seeing the opposite behavior of what I am seeing. The plot thickens.
Updated•12 years ago
|
Updated•12 years ago
|
Whiteboard: [block28] p=2 → [beta28] p=2
Updated•12 years ago
|
Whiteboard: [beta28] p=2 → [beta28] [feature] p=2
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #8348428 -
Attachment is obsolete: true
Attachment #8360095 -
Flags: review?(mbrubeck)
Comment 10•12 years ago
|
||
Comment on attachment 8360095 [details] [diff] [review]
checkbox_crashpref
Review of attachment 8360095 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/metro/base/content/flyoutpanels/PrefsFlyoutPanel.js
@@ +39,5 @@
> SanitizeUI.init();
> this._hasShown = true;
>
> Services.prefs.addObserver("privacy.donottrackheader.value",
> + this,
Thanks for doing this cleanup! Hopefully it'll prevent future confusion in this code.
Attachment #8360095 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 11•12 years ago
|
||
Comment 12•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Assignee | ||
Comment 13•12 years ago
|
||
re-opening so I remember to get this uplifted to aurora.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 14•12 years ago
|
||
Breaks Marco's workflow, so I guess I'll close it again. :) Sorry for the bugspam!
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Whiteboard: [beta28] [feature] p=2 → [beta28] [feature][remember to uplift] p=2
Updated•12 years ago
|
Whiteboard: [beta28] [feature][remember to uplift] p=2 → [beta28] [feature] p=2
Comment 15•12 years ago
|
||
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Comment 16•12 years ago
|
||
User Agents:
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
Verified as fixed on latest Aurora (build ID: 20140123004002) and on latest Nightly (build ID: 20140122030521).
"Include URLs" option is now a checkbox which becomes grayed out if crash report is disabled.
You need to log in
before you can comment on or make changes to this bug.
Description
•