Closed
Bug 1252089
Opened 9 years ago
Closed 9 years ago
Properly report in the crash metadata which sanitization promise we are currently blocked on
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 47
People
(Reporter: mak, Assigned: mak)
References
Details
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
Yoric
:
review+
lizzard
:
approval-mozilla-aurora+
|
Details |
At the moment we report which sanitizations completed, but we don't report which sanitization we are waiting.
Would be useful to know what is blocking when we abort, to direct investigations.
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/37161/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/37161/
Attachment #8724808 -
Flags: review?(dteller)
Comment on attachment 8724808 [details]
MozReview Request: Bug 1252089 - Report the in-progress sanitization in shutdown abort metadata. r=yoric
https://reviewboard.mozilla.org/r/37161/#review33713
Looks good to me.
Two minor suggestions.
::: browser/base/content/sanitize.js:156
(Diff revision 1)
> - // Name is the itemName and promise may be a promise, if the sanitization
> + // Name is the item's name and promise may be a promise, if the sanitization
Let's take the opportunity to make this `name` and `promise` (with backquotes).
::: browser/base/content/sanitize.js:162
(Diff revision 1)
> - // Note we need to catch errors here, otherwise Promise.all would stop
> + let item = this.items[name];
We could take the opportunity to annotate `progress[itemName] = "started"`.
Attachment #8724808 -
Flags: review?(dteller) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://reviewboard.mozilla.org/r/37161/#review33713
> We could take the opportunity to annotate `progress[itemName] = "started"`.
in the current situation "ready" and "started" would be the same thing, cause we start all the items at the same time.
Comment 5•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8724808 [details]
MozReview Request: Bug 1252089 - Report the in-progress sanitization in shutdown abort metadata. r=yoric
Approval Request Comment
[Feature/regressing bug #]: no regression
[User impact if declined]: The current metadata we get when sanitize aborts on shutdown is not really useful to understand where we block, this should allow us to better understand the problem and see which sanitize items need intervention.
[Describe test coverage new/current, TreeHerder]: nightly
[Risks and why]: low risk, trivial code changes
[String/UUID change made/needed]: none
Attachment #8724808 -
Flags: approval-mozilla-aurora?
Comment 7•9 years ago
|
||
Comment on attachment 8724808 [details]
MozReview Request: Bug 1252089 - Report the in-progress sanitization in shutdown abort metadata. r=yoric
Here's hoping this improves our shutdown hang/crash data for 46.
Attachment #8724808 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•9 years ago
|
status-firefox46:
--- → affected
Assignee | ||
Comment 8•9 years ago
|
||
status-firefox45:
--- → wontfix
Comment 9•9 years ago
|
||
[bugday-20160323]
Status: RESOLVED,FIXED -> UNVERIFIED
Comments:
STR: Not clear.
Developer specific testing
Component:
Name Firefox
Version 46.0b9
Build ID 20160322075646
Update Channel beta
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
OS Windows 7 SP1 x86_64
Expected Results:
Developer specific testing
Actual Results:
As expected
You need to log in
before you can comment on or make changes to this bug.
Description
•