Re: [sensors] initialize a sensor object: Explicitly require |options| to be a SensorOptions (#439)

> I don't think we want to do that due to being future proof. In the future we add new members, it becomes a different version of the SensorOptions dict, so code written for a newer browser, might start failing in an older browser, which would be bad.

This is an issue whenever a new member is added to an existing IDL dictionary. Specification authors need to be careful to specify default values for such new members which don't change the original behavior.

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/sensors/pull/439#issuecomment-1258522482 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 26 September 2022 19:33:43 UTC