macro_rules! window_owned_beforeunload_event_handler {
    ($event_type: ident, $getter: ident, $setter: ident) => { ... };
}