# Geolocation and device permissions

**Test family:** `DEV`

- **DEV-001** Ask only after a user action with purpose/context; denied permission leaves a manual alternative.
- **DEV-002** Allow once/while using/always, deny, dismiss, blocked, revoked, unavailable, timeout, and approximate location.
- **DEV-003** Zero coordinate, hemisphere extremes, antimeridian, low accuracy, stale position, rapid movement, and spoofed client input.
- **DEV-004** Stop watching on navigation/logout/revoke and do not retain beyond stated scope.
- **DEV-005** Permission state in browser and product settings remains synchronized without dark patterns.
- **DEV-006** Sensors/notifications/Bluetooth/USB/filesystem/contact access are least-privileged and require fresh authorization for consequential actions.

## Comprehensive per-item coverage

- **DEV-007** Exercise unavailable, permission-denied, idle, initializing, active, paused, completed, canceled, failed, and recovered states.
- **DEV-008** Use adjacent names, captions, metadata, or pasted text containing ASCII emoticons, emoji/ZWJ sequences, kaomoji, RTL, combining marks, and long values.
- **DEV-009** Start through pointer, keyboard, touch, switch, voice, automation, and supported device controls; expose equivalent state and one action.
- **DEV-010** Deny, grant, revoke, and change OS/browser permission while idle and active; explain consequences and stop access promptly.
- **DEV-011** Disconnect, reconnect, sleep/wake, background/foreground, rotate, resize, switch devices, and change network quality during use.
- **DEV-012** Force unsupported format, codec, capability, device, browser, version, and hardware acceleration; fall back truthfully.
- **DEV-013** Use empty, tiny, ordinary, boundary-size, malformed, truncated, corrupt, and adversarial inputs without crash or unbounded work.
- **DEV-014** Use inert markup, script, URL, path, filename, metadata, template, and structured-payload canaries; isolate untrusted content.
- **DEV-015** Attempt cross-origin, cross-tenant, unauthorized, sandbox escape, clipboard, device, and local-resource access; enforce least privilege.
- **DEV-016** Double-start, double-stop, repeat, retry after timeout, and race two sessions or devices; prevent duplicate work and state confusion.
- **DEV-017** Navigate away, refresh, crash, restore, expire the session, and resume offline/online; define preservation, cleanup, and recovery.
- **DEV-018** Verify keyboard path, accessible role/name/state, focus, announcements, captions/alternatives, contrast, reflow, target size, and reduced motion.
- **DEV-019** Test locale, RTL, translated/long labels, input methods, regional formats, and unsupported glyphs without corrupting data.
- **DEV-020** Measure initialization, interaction, processing, rendering, memory, CPU/GPU, battery, bandwidth, and cleanup at normal and boundary load.
- **DEV-021** Inspect DOM, device buffers, temporary files, caches, URLs, logs, telemetry, crash reports, previews, and exports for sensitive leakage.
- **DEV-022** Stop, cancel, undo, clear, delete, and revoke; release devices, handles, workers, object URLs, temporary data, and permissions.
- **DEV-023** Change access or ownership after content is loaded or a capability is granted; reauthorize before save, share, export, or commit.
- **DEV-024** Verify telemetry and audit identify capability, actor, target, permission decision, duration, failure, retry, and cleanup without recording sensitive payload.
- **DEV-025** Test concurrent components competing for the same device, shortcut, clipboard, focus, storage, worker, or media resource.
- **DEV-026** Recover from renderer, worker, process, device, storage, and network failure without false success, orphaned capture, or unrecoverable data loss.

[Back to Specialized controls and system surfaces index](../../specialized-controls.md)
