Improve performance in ITM.
<rdar://problem/107185989>
Created attachment 465571 [details] Patch
Comment on attachment 465571 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=465571&action=review > Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:956 > + if (start < text.length() && end <= text.length()) end is an index here right? so we would to make sure it's just < text.length() ? > Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:957 > + return text.substring(start, end - start); likewise if the last parameter is length do we want end - start + 1 ? For example the text "test" start = 0 end = 3 ?