-
Notifications
You must be signed in to change notification settings - Fork 148
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
CREDENTIAL: boolean acceptPasswords = true; #249
Comments
Filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=28477 to track this at the IDL level. |
Why would |
If some boolean arguments default to false and others to true, you have to study each method to know when you can omit the argument. I think JavaScript and the platform quite consistently defaults to false (XMLHttpRequest is super confusing due to it behaving differently). Also, the common case would be However, you could also make it accept an enum. |
The underlying question is how to support extensibility. Right now we have Since we already have |
Yeah that might be better since the whole setup assumes the user agent is going to be the middle man anyway. |
+1 on boolean arguments defaulting to false. List of acceptable types seems reasonable as well, although unsure whether it's better to create a string mapping ( LOL @ moon vectors ^_^ |
Capitalize Linux
Boolean arguments should not default to true.
The text was updated successfully, but these errors were encountered: