← back to v150 · deviceorientation-events-permission-request-api

conformance · v150

v150 · deviceorientation-events-permission-request-api — conformance probe

7 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.

browser: spec: https://w3c.github.io/deviceorientation/ chromestatus: #5915984063889408 generated 2026-07-24T19:00:00Z by kimi-k3-manual-iteration
0
pass
0
fail
0
blocked
7
total
id contract kind verdict detail
deviceorientationevent-interface-exists window.DeviceOrientationEvent exists — the orientation event interface the static requestPermission() hangs off. spec ↗ exists
devicemotionevent-interface-exists window.DeviceMotionEvent exists — the motion event interface the companion static requestPermission() hangs off. spec ↗ exists
orientation-requestpermission-static DeviceOrientationEvent.requestPermission is a function — a STATIC member on the interface object (not on event instances), per the spec IDL. spec ↗ typeof
motion-requestpermission-static DeviceMotionEvent.requestPermission is a function — the companion STATIC member on its interface object, taking no parameter. spec ↗ typeof
secure-context-gate The event interfaces are [SecureContext]: on a non-secure context DeviceOrientationEvent must be absent (on a secure context either exposure state is spec-legal). spec ↗ script
static-not-on-instances When the gate is present, requestPermission lives only on the interface object: an event instance constructed from DeviceOrientationEvent does not carry its own requestPermission property. spec ↗ script
both-statics-callable-with-no-arguments Both statics accept zero required arguments — orientation's only parameter (absolute, default false) is optional and motion takes none — so function.length is 0 on both (checked without invoking them: no permission is requested). spec ↗ script