[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 #25 from Philip Jägenstedt <philipj@opera.com> ---
(In reply to Boris Zbarsky from comment #23)
> The only cases where that causes a problem is when the missing case is
> treated different from a "falsey" case or from explicit "undefined".
> 
> We found two instances of that in specs, leading to
> <https://www.w3.org/Bugs/Public/show_bug.cgi?id=25686> and
> <https://www.w3.org/Bugs/Public/show_bug.cgi?id=23565>, which both resulted
> in spec changes (the former to explicitly treat undefined and missing
> differently, the latter to change the missing behavior to be the falsey
> behavior.

Thanks! Both alert() and cloneNode() seem to be in order in Blink.

> There was also an issue in window.open() for the feature string; it used to
> become "undefined" and now becomes "".  The behavior of both is not
> specified, so it's hard to tell what the compat behavior is; it depends on
> what the UA does with those two values.

That's unfortunate :(

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

Received on Wednesday, 26 November 2014 20:55:32 UTC