Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modernize Gyroscope constructor steps
Adapt to Web IDL's current practices and be less hand-wavy when constructing a Gyroscope instance: - 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 gyroscope 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".
- Loading branch information