Closed
Bug 1110511
Opened 11 years ago
Closed 10 years ago
Implement about:tabcrashed spec
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
FIXED
Firefox 44
People
(Reporter: mconley, Assigned: mconley)
References
(Depends on 4 open bugs, )
Details
Attachments
(8 files)
|
7.98 KB,
patch
|
mconley
:
feedback+
|
Details | Diff | Splinter Review |
|
40 bytes,
text/x-review-board-request
|
Felipe
:
review+
ntim
:
review+
|
Details |
|
40 bytes,
text/x-review-board-request
|
Felipe
:
review+
|
Details |
|
40 bytes,
text/x-review-board-request
|
Felipe
:
review+
|
Details |
|
40 bytes,
text/x-review-board-request
|
Felipe
:
review+
|
Details |
|
40 bytes,
text/x-review-board-request
|
Felipe
:
review+
|
Details |
|
40 bytes,
text/x-review-board-request
|
ntim
:
review+
|
Details |
|
263.44 KB,
application/zip
|
Details |
Our about:tabcrashed UX was spec'd out in bug 913651. We should actually implement that now.
Updated•11 years ago
|
Updated•11 years ago
|
Flags: firefox-backlog+
Comment 1•11 years ago
|
||
The styling landed in bug 1087618. What still needs to be done here is the functionality part (new buttons, crash reporter, ...).
Comment 2•11 years ago
|
||
Bug 1112304 implements most of the new functionality. The only remaining work here is to add the small UI block from http://people.mozilla.org/~mmaslaney/e10s/Firefox-e10s-v6.png which lets you add a comment and your email address to the crash report.
Points: --- → 2
Flags: qe-verify+
Updated•10 years ago
|
Assignee: nobody → ursulasarracini
Comment 3•10 years ago
|
||
Ursula, are you planning on continuing to work on this?
Flags: needinfo?(ursulasarracini)
Comment 4•10 years ago
|
||
Yup! I actually start on contract next week so I plan to clear this bug then.
Flags: needinfo?(ursulasarracini)
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Comment on attachment 8665064 [details] [diff] [review]
Implement about:tabcrashed spec
mconley: WIP patch for this bug, UI is done but implementation for submitting a comment and emailing user is still in the works. Feel free to apply this patch and work off of it, or let me know what you want to do :)
Attachment #8665064 -
Flags: feedback?(mconley)
| Assignee | ||
Comment 7•10 years ago
|
||
I'll try to drive this one through. Thanks for the start!
Assignee: ursulasarracini → mconley
Status: NEW → ASSIGNED
| Assignee | ||
Comment 8•10 years ago
|
||
Comment on attachment 8665064 [details] [diff] [review]
Implement about:tabcrashed spec
Looks good! I'll drive this one through, thanks!
Attachment #8665064 -
Flags: feedback?(mconley) → feedback+
| Assignee | ||
Comment 9•10 years ago
|
||
Bug 1110511 - [WIP] Add comment and email input to about:tabcrashed.
Original patch by Ursula Sarracini
| Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Bug 1110511 - [WIP] Add comment and email input to about:tabcrashed.
Original patch by Ursula Sarracini
| Assignee | ||
Comment 11•10 years ago
|
||
Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r?felipe
| Assignee | ||
Comment 12•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe
Original patch by Ursula Sarracini
Attachment #8666904 -
Attachment description: MozReview Request: Bug 1110511 - [WIP] Add comment and email input to about:tabcrashed. → MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe
Updated•10 years ago
|
Comment 13•10 years ago
|
||
https://reviewboard.mozilla.org/r/20621/#review18611
Some small drive-by nits for the CSS.
::: browser/themes/shared/aboutTabCrashed.css:15
(Diff revision 3)
> + background-color: rgb(235,235,235);
This corresponds to var(--in-content-box-background-hover).
::: browser/themes/shared/aboutTabCrashed.css:18
(Diff revision 3)
> + border: 1px solid rgb(193,193,193);
The color corresponds to var(--in-content-box-border-color)
::: browser/themes/shared/aboutTabCrashed.css:19
(Diff revision 3)
> + border-radius: 3px;
I'm not seeing any 3px border-radius in the common.inc.css file, only some 2px ones, it'd be better to be consistent here.
::: browser/themes/shared/aboutTabCrashed.css:28
(Diff revision 3)
> +textarea {
Please fix common.inc.css rather than hardcoding styles here.
The styles are supposed to be defined here: https://dxr.mozilla.org/mozilla-central/source/toolkit/themes/shared/in-content/common.inc.css?from=common.inc.css#409 , but there was a typo while writing the code, html|textbox should have been html|input[type="text"] and html|textarea.
| Assignee | ||
Comment 14•10 years ago
|
||
Ah, thanks ntim! Drive-by's welcome. :)
| Assignee | ||
Comment 15•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe
Original patch by Ursula Sarracini
| Assignee | ||
Comment 16•10 years ago
|
||
Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r?felipe
| Assignee | ||
Comment 17•10 years ago
|
||
Bug 1110511 - Regression tests. r?felipe
Comment 18•10 years ago
|
||
Comment on attachment 8667371 [details]
MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
https://reviewboard.mozilla.org/r/20739/#review18803
Why the extraExtra?
Attachment #8667371 -
Flags: review+
Comment 19•10 years ago
|
||
Comment on attachment 8667371 [details]
MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
https://reviewboard.mozilla.org/r/20739/#review18805
::: browser/modules/ContentCrashReporters.jsm:61
(Diff revision 1)
> - if (CrashSubmit.submit(dumpID, { recordSubmission: true })) {
> + let promise = CrashSubmit.submit(dumpID, {
Ah, I forgot to ask. Why did you remove the if block? And the promise result seems unused.
Attachment #8667371 -
Flags: review+
| Assignee | ||
Comment 20•10 years ago
|
||
Hey, still WIP here - should have the final patches up tomorrow. :)
Updated•10 years ago
|
Attachment #8667574 -
Flags: review+
Comment 21•10 years ago
|
||
Comment on attachment 8667574 [details]
MozReview Request: Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
https://reviewboard.mozilla.org/r/20777/#review18807
Comment 22•10 years ago
|
||
Comment on attachment 8667575 [details]
MozReview Request: Bug 1110511 - Regression tests. r=felipe
https://reviewboard.mozilla.org/r/20779/#review18809
Attachment #8667575 -
Flags: review+
Comment 23•10 years ago
|
||
https://reviewboard.mozilla.org/r/20619/#review18811
::: browser/base/content/browser.js:1166
(Diff revision 4)
> + Comments: event.detail.comments,
Is the capital Comments/Email/URL here due to the format expected by the submission server?
::: browser/themes/shared/aboutTabCrashed.css:18
(Diff revision 4)
> + border: 1px solid rgb(193,193,193);
are these background and border colors specific to the about:tabcrashed page or do you know if they can also be defined as some other --in-content var?
::: testing/mochitest/BrowserTestUtils/BrowserTestUtils.jsm:544
(Diff revision 4)
> + dump("\nEt tu, Brute?\n");
I wonder if the dump() works here
Comment 24•10 years ago
|
||
https://reviewboard.mozilla.org/r/20619/#review18811
> are these background and border colors specific to the about:tabcrashed page or do you know if they can also be defined as some other --in-content var?
should be able to use ```border: 1px solid var(--in-content-border-color);``` from https://dxr.mozilla.org/mozilla-central/source/toolkit/themes/shared/in-content/common.inc.css?from=common.inc.css#24
| Assignee | ||
Comment 25•10 years ago
|
||
Comment on attachment 8667371 [details]
MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r?felipe
| Assignee | ||
Comment 26•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe
Original patch by Ursula Sarracini
| Assignee | ||
Comment 27•10 years ago
|
||
Comment on attachment 8667574 [details]
MozReview Request: Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r?felipe
| Assignee | ||
Comment 28•10 years ago
|
||
Comment on attachment 8667575 [details]
MozReview Request: Bug 1110511 - Regression tests. r=felipe
Bug 1110511 - Regression tests. r?felipe
| Assignee | ||
Comment 29•10 years ago
|
||
https://reviewboard.mozilla.org/r/20739/#review18805
> Ah, I forgot to ask. Why did you remove the if block? And the promise result seems unused.
Ah, good point about not doing anything with the promise. I'll remove that.
The thing is, CrashSubmit.submit never returns anything false-y, so the if-block didn't seem to be doing anything. Unless I'm missing something?
| Assignee | ||
Comment 30•10 years ago
|
||
https://reviewboard.mozilla.org/r/20621/#review18849
::: browser/modules/ContentCrashReporters.jsm:20
(Diff revision 5)
> + get defaults() {
> + return {
> + sendReport: true,
> + includeURL: true,
> + emailMe: true,
> + }
> + },
Not longer used
| Assignee | ||
Updated•10 years ago
|
Attachment #8667371 -
Flags: review?(felipc)
| Assignee | ||
Comment 31•10 years ago
|
||
Comment on attachment 8667371 [details]
MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r?felipe
| Assignee | ||
Updated•10 years ago
|
Attachment #8666904 -
Flags: review?(felipc)
| Assignee | ||
Comment 32•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe
Original patch by Ursula Sarracini
| Assignee | ||
Comment 33•10 years ago
|
||
Comment on attachment 8667574 [details]
MozReview Request: Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r?felipe
| Assignee | ||
Comment 34•10 years ago
|
||
Comment on attachment 8667575 [details]
MozReview Request: Bug 1110511 - Regression tests. r=felipe
Bug 1110511 - Regression tests. r?felipe
| Assignee | ||
Comment 35•10 years ago
|
||
Comment on attachment 8667371 [details]
MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r?felipe
Attachment #8667371 -
Flags: review?(felipc)
| Assignee | ||
Updated•10 years ago
|
Attachment #8666904 -
Flags: review?(felipc)
| Assignee | ||
Comment 36•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe
Original patch by Ursula Sarracini
| Assignee | ||
Comment 37•10 years ago
|
||
Comment on attachment 8667574 [details]
MozReview Request: Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r?felipe
| Assignee | ||
Comment 38•10 years ago
|
||
Comment on attachment 8667575 [details]
MozReview Request: Bug 1110511 - Regression tests. r=felipe
Bug 1110511 - Regression tests. r?felipe
| Assignee | ||
Comment 39•10 years ago
|
||
Bug 1110511 - Use the browser permanentKey to map to childIDs in TabCrashReporter. r?felipe
Attachment #8668558 -
Flags: review?(felipc)
| Assignee | ||
Updated•10 years ago
|
Attachment #8667371 -
Flags: review?(felipc)
| Assignee | ||
Comment 40•10 years ago
|
||
Comment on attachment 8667371 [details]
MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r?felipe
| Assignee | ||
Comment 41•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe
Original patch by Ursula Sarracini
| Assignee | ||
Comment 42•10 years ago
|
||
Comment on attachment 8667574 [details]
MozReview Request: Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r?felipe
| Assignee | ||
Comment 43•10 years ago
|
||
Comment on attachment 8667575 [details]
MozReview Request: Bug 1110511 - Regression tests. r=felipe
Bug 1110511 - Regression tests. r?felipe
| Assignee | ||
Comment 44•10 years ago
|
||
(In reply to :Felipe Gomes from comment #23)
> https://reviewboard.mozilla.org/r/20619/#review18811
>
> ::: browser/base/content/browser.js:1166
> (Diff revision 4)
> > + Comments: event.detail.comments,
>
> Is the capital Comments/Email/URL here due to the format expected by the
> submission server?
Yes, that's my understanding having read the socorro source - specifically this test: https://github.com/mozilla/socorro/blob/9b6c1ad54648594865b410bb15e9a32e54949207/socorro/unittest/processor/test_mozilla_transform_rules.py#L39
>
> ::: browser/themes/shared/aboutTabCrashed.css:18
> (Diff revision 4)
> > + border: 1px solid rgb(193,193,193);
>
> are these background and border colors specific to the about:tabcrashed page
> or do you know if they can also be defined as some other --in-content var?
>
Fixed!
> ::: testing/mochitest/BrowserTestUtils/BrowserTestUtils.jsm:544
> (Diff revision 4)
> > + dump("\nEt tu, Brute?\n");
>
> I wonder if the dump() works here
It does! :D
| Assignee | ||
Comment 45•10 years ago
|
||
https://reviewboard.mozilla.org/r/20621/#review18611
> Please fix common.inc.css rather than hardcoding styles here.
> The styles are supposed to be defined here: https://dxr.mozilla.org/mozilla-central/source/toolkit/themes/shared/in-content/common.inc.css?from=common.inc.css#409 , but there was a typo while writing the code, html|textbox should have been html|input[type="text"] and html|textarea.
Hey - I don't think I fully understand this one. Are you saying I should be overwriting all of those instances of textbox with input[type="text"]? And adding textarea too?
| Assignee | ||
Comment 46•10 years ago
|
||
Thanks for the drive-by, Tim! Needinfo'ing for my question in comment 45.
Flags: needinfo?(ntim.bugs)
Comment 47•10 years ago
|
||
(In reply to Mike Conley (:mconley) - Needinfo me! from comment #45)
> https://reviewboard.mozilla.org/r/20621/#review18611
>
> > Please fix common.inc.css rather than hardcoding styles here.
> > The styles are supposed to be defined here: https://dxr.mozilla.org/mozilla-central/source/toolkit/themes/shared/in-content/common.inc.css?from=common.inc.css#409 , but there was a typo while writing the code, html|textbox should have been html|input[type="text"] and html|textarea.
>
> Hey - I don't think I fully understand this one. Are you saying I should be
> overwriting all of those instances of textbox with input[type="text"]? And
> adding textarea too?
textbox is a XUL specific element. In the css, textbox is considered both as a XUL and HTML element which is incorrect. So basically, all html|textbox occurances need to be replaced with html|input[type="text"], html|textarea. The XUL occurance still needs to be kept for the xul consumers of the stylesheet. So the resulting code would be:
html|input[type="text"],
html|textarea,
xul|textbox {
// default rules
}
html|input[type="text"]:focus,
html|textarea:focus,
xul|textbox[focused="true"] {
...
}
...and the same pattern applies for disabled.
Flags: needinfo?(ntim.bugs)
| Assignee | ||
Comment 48•10 years ago
|
||
(In reply to Tim Nguyen [:ntim] from comment #47)
> (In reply to Mike Conley (:mconley) - Needinfo me! from comment #45)
> > https://reviewboard.mozilla.org/r/20621/#review18611
> >
> > > Please fix common.inc.css rather than hardcoding styles here.
> > > The styles are supposed to be defined here: https://dxr.mozilla.org/mozilla-central/source/toolkit/themes/shared/in-content/common.inc.css?from=common.inc.css#409 , but there was a typo while writing the code, html|textbox should have been html|input[type="text"] and html|textarea.
> >
> > Hey - I don't think I fully understand this one. Are you saying I should be
> > overwriting all of those instances of textbox with input[type="text"]? And
> > adding textarea too?
>
> textbox is a XUL specific element. In the css, textbox is considered both as
> a XUL and HTML element which is incorrect. So basically, all html|textbox
> occurances need to be replaced with html|input[type="text"], html|textarea.
> The XUL occurance still needs to be kept for the xul consumers of the
> stylesheet. So the resulting code would be:
>
> html|input[type="text"],
> html|textarea,
> xul|textbox {
> // default rules
> }
> html|input[type="text"]:focus,
> html|textarea:focus,
> xul|textbox[focused="true"] {
> ...
> }
>
> ...and the same pattern applies for disabled.
Ah, okay - I understand now. Thank you!
| Assignee | ||
Comment 49•10 years ago
|
||
Bug 1110511 - Fix erroneous references to html|textbox in in-content's common.css. r?ntim
Attachment #8668585 -
Flags: review?(ntim.bugs)
| Assignee | ||
Updated•10 years ago
|
Attachment #8666904 -
Attachment description: MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe → MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe,ntim
Attachment #8666904 -
Flags: review?(ntim.bugs)
Attachment #8666904 -
Flags: review?(felipc)
| Assignee | ||
Comment 50•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe,ntim
Original patch by Ursula Sarracini
| Assignee | ||
Comment 51•10 years ago
|
||
Comment on attachment 8667574 [details]
MozReview Request: Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r?felipe
| Assignee | ||
Comment 52•10 years ago
|
||
Comment on attachment 8667575 [details]
MozReview Request: Bug 1110511 - Regression tests. r=felipe
Bug 1110511 - Regression tests. r?felipe
| Assignee | ||
Comment 53•10 years ago
|
||
Hey ntim - for "Add comment and email input to about:tabcrashed.", I'm hoping you can give the changes I made to the in-content common.css a look. Thanks!
Comment 54•10 years ago
|
||
Comment on attachment 8668585 [details]
MozReview Request: Bug 1110511 - Fix erroneous references to html|textbox in in-content's common.css. r=ntim
https://reviewboard.mozilla.org/r/20993/#review18875
Looks good to me!
Attachment #8668585 -
Flags: review?(ntim.bugs) → review+
Updated•10 years ago
|
Attachment #8666904 -
Flags: review?(ntim.bugs) → review+
Comment 55•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
https://reviewboard.mozilla.org/r/20621/#review18877
::: toolkit/themes/shared/in-content/common.inc.css:424
(Diff revision 8)
> + height: 30px;
While you're changing this, can you remove the hardcoded line-height, and change the height to a min-height like we currently do with buttons (dao originally suggested the change for buttons) ? These rules are not HDPI friendly.
::: toolkit/themes/shared/in-content/common.inc.css:434
(Diff revision 8)
> + padding: 10px;
I haven't checked how it looks, but please make sure the height is (approximately) 30px on 1x displays, simply for consistency with other in-content UI textboxes.
Comment 56•10 years ago
|
||
(In reply to Tim Nguyen [:ntim] from comment #55)
> Comment on attachment 8666904 [details]
> ::: toolkit/themes/shared/in-content/common.inc.css:434
> (Diff revision 8)
> > + padding: 10px;
>
> I haven't checked how it looks, but please make sure the height is
> (approximately) 30px on 1x displays, simply for consistency with other
> in-content UI textboxes.
This comment of course doesn't apply to text areas, just single line text inputs.
Comment 57•10 years ago
|
||
Comment on attachment 8667371 [details]
MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
https://reviewboard.mozilla.org/r/20739/#review18883
::: browser/modules/ContentCrashReporters.jsm:61
(Diff revisions 3 - 4)
> - let promise = CrashSubmit.submit(dumpID, {
> + CrashSubmit.submit(dumpID, {
this will probably generate a warning for a uncaught promise. It would be nice to do something in the UI to better handle this (maybe only remove the controls after success?), but for now let's at least add .then(null, Cu.reportError) here
Attachment #8667371 -
Flags: review?(felipc) → review+
Comment 58•10 years ago
|
||
Comment on attachment 8668558 [details]
MozReview Request: Bug 1110511 - Use the browser permanentKey to map to childIDs in TabCrashReporter. r=felipe
https://reviewboard.mozilla.org/r/20975/#review18885
Attachment #8668558 -
Flags: review?(felipc) → review+
| Assignee | ||
Comment 59•10 years ago
|
||
https://reviewboard.mozilla.org/r/20621/#review18877
> I haven't checked how it looks, but please make sure the height is (approximately) 30px on 1x displays, simply for consistency with other in-content UI textboxes.
Alright - I've altered the margins so that it matches the textboxes in the Preferences dialog.
| Assignee | ||
Comment 60•10 years ago
|
||
Comment on attachment 8668558 [details]
MozReview Request: Bug 1110511 - Use the browser permanentKey to map to childIDs in TabCrashReporter. r=felipe
Bug 1110511 - Use the browser permanentKey to map to childIDs in TabCrashReporter. r=felipe
Attachment #8668558 -
Attachment description: MozReview Request: Bug 1110511 - Use the browser permanentKey to map to childIDs in TabCrashReporter. r?felipe → MozReview Request: Bug 1110511 - Use the browser permanentKey to map to childIDs in TabCrashReporter. r=felipe
| Assignee | ||
Comment 61•10 years ago
|
||
Comment on attachment 8667371 [details]
MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
Attachment #8667371 -
Attachment description: MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r?felipe → MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
| Assignee | ||
Comment 62•10 years ago
|
||
Comment on attachment 8668585 [details]
MozReview Request: Bug 1110511 - Fix erroneous references to html|textbox in in-content's common.css. r=ntim
Bug 1110511 - Fix erroneous references to html|textbox in in-content's common.css. r=ntim
Attachment #8668585 -
Attachment description: MozReview Request: Bug 1110511 - Fix erroneous references to html|textbox in in-content's common.css. r?ntim → MozReview Request: Bug 1110511 - Fix erroneous references to html|textbox in in-content's common.css. r=ntim
| Assignee | ||
Comment 63•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe,ntim
Original patch by Ursula Sarracini
| Assignee | ||
Comment 64•10 years ago
|
||
Comment on attachment 8667574 [details]
MozReview Request: Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
Attachment #8667574 -
Attachment description: MozReview Request: Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r?felipe → MozReview Request: Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
| Assignee | ||
Comment 65•10 years ago
|
||
Comment on attachment 8667575 [details]
MozReview Request: Bug 1110511 - Regression tests. r=felipe
Bug 1110511 - Regression tests. r=felipe
Attachment #8667575 -
Attachment description: MozReview Request: Bug 1110511 - Regression tests. r?felipe → MozReview Request: Bug 1110511 - Regression tests. r=felipe
Comment 66•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
https://reviewboard.mozilla.org/r/20621/#review19191
::: browser/modules/ContentCrashReporters.jsm:103
(Diff revision 9)
> + this.prefs.setCharPref("email", aFormData.email);
as talked on irc, let's clear the email pref in case emailMe is false
Attachment #8666904 -
Flags: review?(felipc) → review+
| Assignee | ||
Comment 67•10 years ago
|
||
Comment on attachment 8668558 [details]
MozReview Request: Bug 1110511 - Use the browser permanentKey to map to childIDs in TabCrashReporter. r=felipe
Bug 1110511 - Use the browser permanentKey to map to childIDs in TabCrashReporter. r=felipe
| Assignee | ||
Comment 68•10 years ago
|
||
Comment on attachment 8667371 [details]
MozReview Request: Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
| Assignee | ||
Comment 69•10 years ago
|
||
Comment on attachment 8668585 [details]
MozReview Request: Bug 1110511 - Fix erroneous references to html|textbox in in-content's common.css. r=ntim
Bug 1110511 - Fix erroneous references to html|textbox in in-content's common.css. r=ntim
| Assignee | ||
Updated•10 years ago
|
Attachment #8666904 -
Attachment description: MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r?felipe,ntim → MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
| Assignee | ||
Comment 70•10 years ago
|
||
Comment on attachment 8666904 [details]
MozReview Request: Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
Original patch by Ursula Sarracini
| Assignee | ||
Comment 71•10 years ago
|
||
Comment on attachment 8667574 [details]
MozReview Request: Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
| Assignee | ||
Comment 72•10 years ago
|
||
Comment on attachment 8667575 [details]
MozReview Request: Bug 1110511 - Regression tests. r=felipe
Bug 1110511 - Regression tests. r=felipe
| Assignee | ||
Comment 73•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/0e055b648e1003d29b243e036aef43565f2e9874
Bug 1110511 - Use the browser permanentKey to map to childIDs in TabCrashReporter. r=felipe
https://hg.mozilla.org/integration/fx-team/rev/219d86f78b6be95ffbac8d005c428cd04db11150
Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
https://hg.mozilla.org/integration/fx-team/rev/c7b983f655685051c0ed691ca1dfbdd47a3e964a
Bug 1110511 - Fix erroneous references to html|textbox in in-content's common.css. r=ntim
https://hg.mozilla.org/integration/fx-team/rev/8e20cd68ca78366976495c9a7f003f0f120c1166
Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
https://hg.mozilla.org/integration/fx-team/rev/0eb0dda094b30354a84991e430a0e49320fde52b
Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
https://hg.mozilla.org/integration/fx-team/rev/eddfd7f32a1cd0a7972ce2c459d53c7b750ec9a7
Bug 1110511 - Regression tests. r=felipe
Backed out in https://hg.mozilla.org/integration/fx-team/rev/4fb5f812f7c9 for mochitest-bc timeouts like https://treeherder.mozilla.org/logviewer.html#?job_id=4990027&repo=fx-team
15:23:21 INFO - JavaScript error: resource://testing-common/BrowserTestUtils.jsm, line 25: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]
Flags: needinfo?(mconley)
The failures so far have all been on Linux ASAN builds, not sure if that'll continue or just a coincidence.
| Assignee | ||
Comment 76•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/c6fe1019a8394c4b3181bacbccec04c0e5523d0c
Bug 1110511 - Use the browser permanentKey to map to childIDs in TabCrashReporter. r=felipe
https://hg.mozilla.org/integration/fx-team/rev/f6cb65396893532ca142eb873e37ef21cf3a15a5
Bug 1110511 - Allow TabCrashReporter to pass extraExtraKeyVals. r=felipe
https://hg.mozilla.org/integration/fx-team/rev/d14961fccedfe7c670ab5f4eff204b16a408a993
Bug 1110511 - Fix erroneous references to html|textbox in in-content's common.css. r=ntim
https://hg.mozilla.org/integration/fx-team/rev/717c687684d3ea30fe05c10d205bedadede768b3
Bug 1110511 - Add comment and email input to about:tabcrashed. r=felipe,ntim
https://hg.mozilla.org/integration/fx-team/rev/9758dfd459cb23cda365c2a7eb05887000c726d0
Bug 1110511 - Move tab-crashing test helper function to BrowserTestUtils.jsm r=felipe
https://hg.mozilla.org/integration/fx-team/rev/d37602b95f4445605a45be788305b00865666264
Bug 1110511 - Regression tests. r=felipe
| Assignee | ||
Comment 77•10 years ago
|
||
It looks like KeyValueParser.jsm isn't available unless MOZ_CRASHREPORTER is set to true. I've modified BrowserTestUtils.jsm in 9758dfd459 to account for this.
Here's the try push, with the change on tip:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=56e51e4b694c
Flags: needinfo?(mconley)
https://hg.mozilla.org/mozilla-central/rev/c6fe1019a839
https://hg.mozilla.org/mozilla-central/rev/f6cb65396893
https://hg.mozilla.org/mozilla-central/rev/d14961fccedf
https://hg.mozilla.org/mozilla-central/rev/717c687684d3
https://hg.mozilla.org/mozilla-central/rev/9758dfd459cb
https://hg.mozilla.org/mozilla-central/rev/d37602b95f44
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Comment 79•10 years ago
|
||
I tested this in latest nightly 46.0a1 (2016-01-18) on Win 7.
A few issues:
1. The crash reporter is not expanded if was automatically checked on crash http://i.imgur.com/szmLXNf.png - unchecking/checking again reveals the crash reporter
2. other tab icons disappear when a tab crashes http://i.imgur.com/x8upQ7f.png
3. I don't see the report confirmation message (last picture from the mockup - "crash report already submitted etc")
4. unable to use the keyboard for checking the "submit report" option (also its sub-boxes)
5. able to enter email address even if "email me when more info is available" option is unchecked
6. when a second tab crashes, "restore all crashed tabs" option appears in both tabs. But after I close the second tab, "restore all crashed tabs" option remains displayed in the first tab, even if there is only 1 tab crashed
Let me know your thoughts and if any of them should be filed separately. Thanks.
Flags: needinfo?(mconley)
| Assignee | ||
Comment 80•10 years ago
|
||
Hey pauly - thanks for poking at this. You've found some very good stuff here.
(2) is known - that's bug 1227630
The rest are new and should be separately filed, and have tracking-e10s set to ?.
Are you good to file those, or did you want me to do it?
Flags: needinfo?(mconley) → needinfo?(paul.silaghi)
Comment 81•10 years ago
|
||
I'll file them tomorrow. Thanks.
Comment 82•10 years ago
|
||
(In reply to Paul Silaghi, QA [:pauly] from comment #79)
> I tested this in latest nightly 46.0a1 (2016-01-18) on Win 7.
Since this bug appears fixed on 44, I've re-tested the scenarios on FF 44b9 and got different results:
1. not reproducible
2. not reproducible - crashing a tab, makes all the other tabs crash too (not sure if expected)
3. not reproducible
4. reproducible
5. reproducible
6. reproducible
This means 1-3 are regressions I guess...
Thoughts?
Flags: needinfo?(paul.silaghi) → needinfo?(mconley)
| Assignee | ||
Comment 83•10 years ago
|
||
Hey pauly, it's likely fallout from bug 1220929, which refactored how we handle crashed tabs.
Flags: needinfo?(mconley)
Comment 84•10 years ago
|
||
Ok then, I'm marking this bug as verified on FF 44, considering the follow-up bugs.
Status: RESOLVED → VERIFIED
| Assignee | ||
Comment 85•9 years ago
|
||
| bugnotes | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•