v148 · DOM · Platform Hygiene
createEvent Allowlist Reference
Chrome 148 drops document.createEvent() support for non-allowlisted interface names. This table shows every historical event interface name, its Chrome 148 status, and the modern constructor equivalent. Click "Try it" to probe each interface in your current browser.
Interface reference
31 interfaces
31 total
? allowlisted
? removed
| Interface name | Status | Modern replacement | Try |
|---|
The allowlisted interfaces are the ones the HTML spec formally defines for createEvent(). Everything else was a historical Chrome extension — removed in 148. Use the "Try it" column to probe your current browser.
// Chrome 148: still works (allowlisted)
document.createEvent('Event') // ✓
document.createEvent('CustomEvent') // ✓
document.createEvent('MouseEvent') // ✓
document.createEvent('KeyboardEvent') // ✓
// Chrome 148: THROWS NotSupportedError (removed)
document.createEvent('PopStateEvent') // ✗
document.createEvent('HashChangeEvent') // ✗
document.createEvent('SVGZoomEvents') // ✗
// Modern equivalent — use constructors instead:
new CustomEvent('myevent', { detail: data })
new MouseEvent('click', { bubbles: true })
see also
- Factory Roll Call — probe all names in your browser
- Modern Constructors — legacy vs constructor comparison
- Migration Guide — auto-detect deprecated calls in your code
- Event Migration Scanner — scan and auto-fix deprecated calls
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗