Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize Gyroscope constructor steps #55

Merged
merged 1 commit into from
Oct 25, 2023

Commits on Oct 24, 2023

  1. 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".
    rakuco committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    070547c View commit details
    Browse the repository at this point in the history