We should do something better than repeatedly inserting an element at index 0 to build up the array of rules in inIDOMUtils.getCSSStyleRules.
Noticed this when reviewing bug 1311191.
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #8803810 - Flags: review?(erahm)
Attachment #8803810 - Attachment is patch: true
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8394f9b7b9e5 Build up list of applicable rules in reverse to avoid quadratic time array manipulations. r=erahm
You need to log in before you can comment on or make changes to this bug.