Minor Changes
- #3707
f14e9784fd49f36ac9051c6d5cdbd7223f391a9bThanks @jodeleeuw! - ThekeyDown()andkeyUp()helpers accept an optional second argument that sets thecodeproperty (the physical key) on the dispatchedKeyboardEvent, in addition to the existingkeyargument. A newwindowBlur()helper dispatches ablurevent onwindowand flushes pending promises, for testing behavior that depends on the page losing focus.