This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
There are a couple of places where T[] ("pass by reference") is used for constructor arguments: On interface Path2D: Constructor(Path2D[] paths, optional CanvasFillRule fillRule = "nonzero") On interface WebSocket: Constructor(DOMString url, optional (DOMString or DOMString[]) protocols) In both of these cases, sequence<T> ("pass by value") seems to make more sense, since in neither case does the platform object modify the array. Is this usage intentional?
This stuff keeps changing and I haven't kept up with what the right answer is. So my plan for the last year or so has been to let WebIDL settle so I can see what comes out on top, then I'll go through and update the spec.
Fixed in https://github.com/whatwg/html/commit/981a563a1d72fe42b71f2d22a2abb476151d7a4a. See also https://github.com/whatwg/html/issues/11.