In linux we don't show memory information for image, layers and page categories. I don't think we can get image and layers, but at least we can add others category with the memory not in javascript categories. We can also not show the categories for which the memory is 0, because it's confusing.
Pull request: https://github.com/WebKit/WebKit/pull/2215
Committed 252496@main (ec374dbfec09): <https://commits.webkit.org/252496@main> Reviewed commits have been landed. Closing PR #2215 and removing active labels.
<rdar://problem/97061227>