This fixes the test from https://github.com/w3c/web-platform-tests/pull/9212 in Gecko.
heapsize
malloc_size_of