[wpt-sync] Sync PR 58469 - Remove obsolete feature-policy sensor tests and rename to permissions-policy
Categories
(Core :: DOM: Device Interfaces, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
600.77 KB,
text/plain
|
Details |
Sync web-platform-tests PR 58469 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58469
Details from upstream follow.
Marcos Caceres <caceres_m@apple.com> wrote:
Remove obsolete feature-policy sensor tests and rename to permissions-policy
This PR cleans up remaining references to the deleted /feature-policy/ directory by:
Deleting obsolete sensor -feature-policy test files since their -permissions-policy equivalents already exist:
- accelerometer/Accelerometer--by-feature-policy.html (5 files + 3 headers)
- gyroscope/Gyroscope--by-feature-policy.html (5 files + 3 headers)
- magnetometer/Magnetometer--by-feature-policy.html (5 files + 3 headers)
Renaming generic-sensor-feature-policy-test.sub.js to generic-sensor-permissions-policy-test.sub.js and updating all imports
Updating generic-sensor-tests.js:
- featurePolicyNames -> permissionsPolicyNames
- Updated test description text
Updating generic-sensor-helpers.js:
- featurePolicyNames -> permissionsPolicyNames
Updating all sensor-data.js files:
- accelerometer/resources/sensor-data.js
- ambient-light/resources/sensor-data.js
- gyroscope/resources/sensor-data.js
- magnetometer/resources/sensor-data.js
- orientation-sensor/resources/sensor-data.js
Note: Client hints files with 'feature-policy' in their names are NOT broken - they use their own local resources (e.g., client-hints/resources/feature-policy-navigation.js) and do not reference the deleted /feature-policy/ directory. Renaming those would be a separate cleanup effort.
This follows up on PR #58327 which deleted the /feature-policy/ directory.
| Assignee | ||
Comment 1•8 months ago
|
||
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Comment 2•8 months ago
|
||
| Assignee | ||
Comment 3•8 months ago
|
||
| Assignee | ||
Comment 4•8 months ago
|
||
| Assignee | ||
Comment 5•8 months ago
|
||
| Assignee | ||
Comment 6•8 months ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8a508c0632c0
https://hg.mozilla.org/mozilla-central/rev/c8a470bbd061
Description
•