Bug 941787 - Fix race between tab closure event and nested event loop popping in devtools browser actor. r=panos, a=lsblakk