pub(crate) fn custom_event_ctor(
_it: &mut Interp,
_t: Value,
a: &[Value],
) -> Result<Value, Value>Expand description
new CustomEvent(type, {detail, bubbles, cancelable})。以前は options.bubbles
を一切読まず常に false を決め打ちしていたため、new CustomEvent('x', {bubbles: true}) が矛盾した bubbles === false なイベントになるバグだった
(event_ctor は bubbles を正しく読んでいたのに、こちらだけ漏れていた)。