Create the NAP-LOCATION mock.
Grant decision, availability, fix latency, autoplay.
A location extension with advance, setVisible, revoke.
location
advance
setVisible
revoke
const location = createMockLocationService();location.handleMessage('w1', { type: 'location.permission', id: 'l1', precise: true }, send);location.handleMessage('w1', { type: 'location.current', id: 'l2' }, send); // → position Copy
const location = createMockLocationService();location.handleMessage('w1', { type: 'location.permission', id: 'l1', precise: true }, send);location.handleMessage('w1', { type: 'location.current', id: 'l2' }, send); // → position
Create the NAP-LOCATION mock.