Review feedback of Bug 224987 suggested that rather than using `snapshotFrameRect` (and `Document::hitTest` to check if that location is 3rd party) to get the color of pixels in the page, which can be expensive, we should hook into painting logic. Doing so will also (likely) make it easier to support non-sRGB color spaces, as right now `snapshotFrameRect` always uses sRGB.
<rdar://problem/77295389>
Compositing makes this ... hard.