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
Is 'currencySystem' required? #408
Comments
I vote for just erasing the string |
As long as the WebIDL is normative, that seems fine. The section on conformance seems to confirm this: Ian |
It might be correct. Because it's not nullable and it has default value. So, the value is always set as something. So, we can say the value is always required. (But we can change the string clearer.) Also, according to IDL spec[1], the currency system (non-nullable DOMString) will be resolved as follows: |
I agree with @tommythorsen - we should not replicate what is in the IDL. |
The spec says:
However, the WebIDL for
currencySystem
does not have therequired
keyword. Let's change the phrasing of the spec to make it clear thatcurrencySystem
is optional. The developer could, for example, not specify it, or specifycurrencySystem: null
orcurrencySystem: undefined
, correct?The text was updated successfully, but these errors were encountered: