Variable: BUILT_IN_OVERLAY_RULES
constBUILT_IN_OVERLAY_RULES: readonlyOverlayRule[]
Overlay rules registered by default.
Remarks
Deliberately minimal and strictly non-destructive. The one built-in turns an opaque "action timed out" into a named diagnosis — "a modal dialog reading Session Expiring blocked this click" — without answering the dialog.
Which overlays actually appear is highly system-specific (What's New, cookie consent, custom Z-dialogs), so dismissal rules belong in the consuming project rather than shipped as guesses.
Example
import { BUILT_IN_OVERLAY_RULES } from '#fixtures/overlay-handler.js';
for (const rule of BUILT_IN_OVERLAY_RULES) {
await overlays.register(rule);
}