11cb0ef41Sopenharmony_citest(t => { 21cb0ef41Sopenharmony_ci const input = document.body.appendChild(document.createElement('input')); 31cb0ef41Sopenharmony_ci input.type = "radio"; 41cb0ef41Sopenharmony_ci t.add_cleanup(() => input.remove()); 51cb0ef41Sopenharmony_ci const clickEvent = new MouseEvent('click', { button: 0, which: 1 }); 61cb0ef41Sopenharmony_ci input.addEventListener('change', t.step_func(() => { 71cb0ef41Sopenharmony_ci assert_equals(clickEvent.eventPhase, Event.NONE); 81cb0ef41Sopenharmony_ci })); 91cb0ef41Sopenharmony_ci input.dispatchEvent(clickEvent); 101cb0ef41Sopenharmony_ci}, "Use NONE phase during legacy-pre-activation behavior"); 11