Closed
Bug 1062622
Opened 10 years ago
Closed 10 years ago
Add function to empty Sanitizer.jsm catch()
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 35
People
(Reporter: bnicholson, Assigned: bnicholson)
References
Details
Attachments
(1 file)
1013 bytes,
patch
|
wesj
:
review+
|
Details | Diff | Splinter Review |
promise.catch() requires a function, so the following then() block is currently broken in Sanitizer.jsm.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8483855 -
Flags: review?(wjohnston)
Comment 2•10 years ago
|
||
Comment on attachment 8483855 [details] [diff] [review] Add empty catch handler in Sanitizer.jsm Review of attachment 8483855 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/modules/Sanitizer.jsm @@ +153,5 @@ > history: { > clear: function () > { > return Messaging.sendRequestForResult({ type: "Sanitize:ClearHistory" }) > + .catch(() => {}) // Purge Gecko-side data even if request failed We should probably log this. Cu.reportError?
Attachment #8483855 -
Flags: review?(wjohnston) → review+
Assignee | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/42e164ec81d3
https://hg.mozilla.org/mozilla-central/rev/42e164ec81d3
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•