Closed
Bug 1318210
Opened 8 years ago
Closed 8 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•8 years ago
|
||
Attachment #8811559 -
Flags: review?(amarchesini)
Comment 2•8 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•8 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•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1fdb5a1b0d86
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•