[Bug 27384] CSSStyleSheet.insertRule's index argument should be optional with default 0

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27384

--- Comment #27 from Boris Zbarsky <bzbarsky@mit.edu> ---
> There's also scrollIntoView which is bending over backwards for undefined.

Ah, yes, sorry.  When we ran into the cloneNode issue I just looked for the
"boolean foo = true" pattern, and scrollIntoView was the other example I found.
 So I proactively didn't change the behavior there and hence we never had bug
reports about it, which is why I didn't notice it when writing comment 23.  :(

Gecko has never shipped a behavior change to scrollIntoView, so I can't
guarantee that undefined is ever passed to it in the wild.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 27 November 2014 14:43:08 UTC