purgedSize and purgeableSize are removed by Chrome
This commit is contained in:
parent
6d323dd6fe
commit
5e43ea227e
6 changed files with 2 additions and 20 deletions
|
@ -445,9 +445,6 @@ v8::Local<v8::Value> Converter<blink::WebCache::ResourceTypeStat>::ToV8(
|
||||||
dict.Set("count", static_cast<uint32_t>(stat.count));
|
dict.Set("count", static_cast<uint32_t>(stat.count));
|
||||||
dict.Set("size", static_cast<double>(stat.size));
|
dict.Set("size", static_cast<double>(stat.size));
|
||||||
dict.Set("liveSize", static_cast<double>(stat.liveSize));
|
dict.Set("liveSize", static_cast<double>(stat.liveSize));
|
||||||
dict.Set("decodedSize", static_cast<double>(stat.decodedSize));
|
|
||||||
dict.Set("purgedSize", static_cast<double>(stat.purgedSize));
|
|
||||||
dict.Set("purgeableSize", static_cast<double>(stat.purgeableSize));
|
|
||||||
return dict.GetHandle();
|
return dict.GetHandle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
* `count` Number
|
* `count` Number
|
||||||
* `size` Number
|
* `size` Number
|
||||||
* `liveSize` Number
|
* `liveSize` Number
|
||||||
* `decodedSize` Number
|
|
||||||
* `purgedSize` Number
|
|
||||||
* `purgeableSize` Number
|
|
||||||
|
|
|
@ -144,10 +144,7 @@ console.log(webFrame.getResourceUsage())
|
||||||
images: {
|
images: {
|
||||||
count: 22,
|
count: 22,
|
||||||
size: 2549,
|
size: 2549,
|
||||||
liveSize: 2542,
|
liveSize: 2542
|
||||||
decodedSize: 478,
|
|
||||||
purgedSize: 0,
|
|
||||||
purgeableSize: 0
|
|
||||||
},
|
},
|
||||||
cssStyleSheets: { /* same with "images" */ },
|
cssStyleSheets: { /* same with "images" */ },
|
||||||
xslStyleSheets: { /* same with "images" */ },
|
xslStyleSheets: { /* same with "images" */ },
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
* `count` 數字
|
* `count` 數字
|
||||||
* `size` 數字
|
* `size` 數字
|
||||||
* `liveSize` 數字
|
* `liveSize` 數字
|
||||||
* `decodedSize` 數字
|
|
||||||
* `purgedSize` 數字
|
|
||||||
* `purgeableSize` 數字
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
* `count` Number
|
* `count` Number
|
||||||
* `size` Number
|
* `size` Number
|
||||||
* `liveSize` Number
|
* `liveSize` Number
|
||||||
* `decodedSize` Number
|
|
||||||
* `purgedSize` Number
|
|
||||||
* `purgeableSize` Number
|
|
||||||
|
|
|
@ -167,10 +167,7 @@ This will generate:
|
||||||
images: {
|
images: {
|
||||||
count: 22,
|
count: 22,
|
||||||
size: 2549,
|
size: 2549,
|
||||||
liveSize: 2542,
|
liveSize: 2542
|
||||||
decodedSize: 478,
|
|
||||||
purgedSize: 0,
|
|
||||||
purgeableSize: 0
|
|
||||||
},
|
},
|
||||||
cssStyleSheets: { /* same with "images" */ },
|
cssStyleSheets: { /* same with "images" */ },
|
||||||
xslStyleSheets: { /* same with "images" */ },
|
xslStyleSheets: { /* same with "images" */ },
|
||||||
|
|
Loading…
Reference in a new issue