• improve spec compliance of discarding BCs

    do not handle compositor input events when BC is being discarded
    
    prevent firing of timers for discarded BCs
    
    return null for opener is BC has been discarded
    
    bundle discard BC steps into window method
    
    return null in window.opener, if BC has already been discarded
    
    move the window closed check pre-event to script-thread
    gterzian committed Sep 22, 2019