[CB-2389] Distinguish top-level from sub-frame navigations.