Attacker page (origin A: localhost:8080)

The chrome.debugger extension attaches here, sets a geolocation override, then detaches and navigates this same tab to the victim origin.