зеркало из https://github.com/mozilla/gecko-dev.git
Bug 961007 - Data mobile usage is not counted. r=chucklee
This commit is contained in:
Родитель
489e6eee41
Коммит
dffefcdf98
|
@ -126,7 +126,7 @@ NetworkService.prototype = {
|
|||
|
||||
if (Components.isSuccessCode(status)) {
|
||||
// Find record for corresponding interface.
|
||||
let statExpr = / +(\S+): +(\d+) +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +(\d+) +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +\d+/;
|
||||
let statExpr = /(\S+): +(\d+) +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +(\d+) +\d+ +\d+ +\d+ +\d+ +\d+ +\d+ +\d+/;
|
||||
let data = NetUtil.readInputStreamToString(inputStream,
|
||||
inputStream.available()).split("\n");
|
||||
for (let i = 2; i < data.length; i++) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче