Found it!

Firefox fails to check the prefetched cache before requesting the next page when the in-memory cache-size is allocated.

To repeat, set browser.cache.memory.capacity to a known value, then wait until the memory reported as being used by Firefox is greater than said known value. Then, clear the disk cache. Then, request the test case and observe the headers in transit.

They’ll look like this.