This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Is there any API other than XMLHttpRequest where this happens? Note that even XMLHttpRequest does not strictly do this since it needs to overload. So perhaps we could simply outlaw `= true` in general...
I don't see any instances of optional boolean args defaulting true. There seem to be a bunch of dictionary boolean options defaulting true, though...
Stable features? That seems unfortunate. I guess it's less of a problem with dictionaries, but it still seems bad.
Yeah, dictionary arguments defaulting to true seems unfortunate/confusing too.
Yet here we are: http://mxr.mozilla.org/mozilla-central/search?string=%3D+true&find=\.webidl%24&tree=mozilla-central
> Stable features? WebGL, Canvas2d, IDB, SVGGraphicsElement.getBBox, WebRTC.
https://github.com/heycam/webidl/commit/fcc7e379bfbf155a8eafcbb23b20f46ad21e4e6b