Not tests yet since can't repro.
Created attachment 130098 [details] Patch
Created attachment 130114 [details] Patch
Comment on attachment 130114 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=130114&action=review > LayoutTests/inspector/styles/set-property-boundaries.html:27 > + for (var i = 0; i < infos.length; ++i) Could you please use the first item only instead of iterating over all the items? > LayoutTests/inspector/styles/set-property-boundaries.html:39 > + for (var i = 0; i < styleSheet.rules.length; ++i) ditto > LayoutTests/inspector/styles/set-property-boundaries.html:51 > + CSSAgent.setPropertyText(style.styleId, 10, "color:blue;", true, dumpErrorMessage); Maybe const outOfBOundsRuleIndex = 42; ?
> Could you please use the first item only instead of iterating over all the items? > Done. > > LayoutTests/inspector/styles/set-property-boundaries.html:39 > > + for (var i = 0; i < styleSheet.rules.length; ++i) > > ditto Done. > > > LayoutTests/inspector/styles/set-property-boundaries.html:51 > > + CSSAgent.setPropertyText(style.styleId, 10, "color:blue;", true, dumpErrorMessage); > > Maybe const outOfBOundsRuleIndex = 42; ? Done.
Committed r109741: <http://trac.webkit.org/changeset/109741>