Parameters to CSSStyleSheet.insertRule() / deleteRule() should be mandatory: - https://drafts.csswg.org/cssom/#cssstylesheet They are mandatory in Firefox. They are mandatory in Chrome except for the second parameter of insertRule() which merely logs a deprecation warning. I propose to match Chrome's behavior to move towards to specification while limiting the risk of breakage.
Created attachment 284628 [details] Patch
Created attachment 284632 [details] Patch
Comment on attachment 284632 [details] Patch Clearing flags on attachment: 284632 Committed r203740: <http://trac.webkit.org/changeset/203740>
All reviewed patches have been landed. Closing bug.