Closed
Bug 1318210
Opened 9 years ago
Closed 9 years ago
Remove nsIAppsService
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla53
| Tracking | Status | |
|---|---|---|
| firefox53 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
57.58 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8811559 -
Flags: review?(amarchesini)
Comment 2•9 years ago
|
||
Comment on attachment 8811559 [details] [diff] [review]
Remove nsIAppsService
Review of attachment 8811559 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/network/NetworkStatsManager.js
@@ +181,5 @@
> threshold: aThreshold,
> startTime: aOptions.startTime,
> data: aOptions.data,
> + manifestURL: "",
> + pageURL: ""}});
can we remove these entries from data?
@@ +195,5 @@
> let request = this.createRequest();
> cpmm.sendAsyncMessage("NetworkStats:GetAlarms",
> {id: this.getRequestId(request),
> data: {network: network,
> + manifestURL: ""}});
ditto.
@@ +208,5 @@
> let request = this.createRequest();
> cpmm.sendAsyncMessage("NetworkStats:RemoveAlarms",
> {id: this.getRequestId(request),
> data: {alarmId: aAlarmId,
> + manifestURL: ""}});
ditto.
::: dom/network/NetworkStatsService.jsm
@@ +408,5 @@
> let callback = (function (aError, aResult) {
> this._db.find(function onStatsFound(aError, aResult) {
> mm.sendAsyncMessage("NetworkStats:Get:Return",
> { id: msg.id, error: aError, result: aResult });
> + }, 0, browsingTrafficOnly, serviceType, network, start, end, null);
and maybe consider to remove this field in the db.
Attachment #8811559 -
Flags: review?(amarchesini) → review+
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1fdb5a1b0d86
Remove nsIAppsService; r=baku
| Assignee | ||
Comment 4•9 years ago
|
||
In response to comment 2, all of this code (the network stats API) is pending removal, and it has never been used in Firefox, so I don't think our users will have any data we need to clear here.
Comment 5•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•