Adapt to Web IDL's current practices and be less hand-wavy when constructing
Accelerometer/LinearAccelerationSensor/GravitySensor instances:
We are given this so we do not need to say "let foo be a new instance of
IDLInterface".
Similarly, there is no need to return anything from the "construct a
accelerometer object" operation, it is only supposed to either initialize
this or throw an exception.
Pass the right argument with the right type to "check sensor
policy-controlled features".
Adapt to Web IDL's current practices and be less hand-wavy when constructing Accelerometer/LinearAccelerationSensor/GravitySensor instances:
this
so we do not need to say "let foo be a new instance of IDLInterface".this
or throw an exception.Preview | Diff