-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed as not planned
Description
Description
This PR adds comprehensive tests for the Accelerometer API, including:
- Basic sensor functionality for
Accelerometer,GravitySensor, andLinearAccelerationSensor - Feature Policy integration tests (enabled/disabled states)
- Cross-origin iframe accessibility tests
- Insecure context validation
- IDL harness compliance tests
Tests Added
accelerometer/Accelerometer.https.htmlaccelerometer/GravitySensor.https.htmlaccelerometer/LinearAccelerationSensor.https.htmlaccelerometer/Accelerometer_insecure_context.htmlaccelerometer/Accelerometer-iframe-access.https.html- Feature policy tests in
accelerometer/*-by-feature-policy*.https.html - IDL tests in
accelerometer/idlharness.https.window.js
Manual Testing
- LinearAccelerationSensor shake threshold test requires manual device shaking
- All other tests are fully automated
Related Issues
Closes #[issue_number] - Add Accelerometer API test coverage
Reviewers
Metadata
Metadata
Assignees
Labels
No labels