gecko-dev/accessible/ipc/win
James Teh 31c03e927b Bug 1421873: Fix infinite loop in HandlerProvider::GetAllTextInfoMainThread when invalid attribute offsets are returned. r=MarcoZ
When querying text attributes, Gecko can return an end offset less than the requested offset in some rare cases, which isn't valid.
This is perhaps because the text mutated during the attribute fetching loop for some reason, making the requested offset invalid.
We now check the end offset and break out of the loop in this case.
This fixes a freeze after sending a message in OX Mail with NVDA.

MozReview-Commit-ID: 1lVSLAdOcS7

--HG--
extra : rebase_source : 048fbed8ddc591f62c17d559483bfe2f1542431c
2017-11-30 16:44:02 +10:00
..
handler Bug 1421209 part 1: Fix incorrect iid in AccessibleHandler::ResolveIAHypertext. r=MarcoZ 2017-11-29 14:39:00 +10:00
typelib Backed out changeset ce6e2c41d939 (bug 1288841) 2016-08-19 10:02:15 +02:00
COMPtrTypes.cpp Bug 1399557: Add diagnostic asserts to interceptor creation code; r=jimm 2017-09-18 10:49:15 -06:00
COMPtrTypes.h Bug 1399557: Add Environment to mscom::ProxyStream and define it for IAccessible; r=jimm 2017-09-29 15:41:28 -06:00
DocAccessibleChild.cpp Bug 1415470 - a11y: Fix VS2017 initializer list order warnings. r=yzen 2017-11-06 23:54:53 -08:00
DocAccessibleChild.h Bug 1402951 - no show events for content on document load complete, r=aklotz, yzen 2017-10-03 10:58:27 -04:00
HandlerProvider.cpp Bug 1421873: Fix infinite loop in HandlerProvider::GetAllTextInfoMainThread when invalid attribute offsets are returned. r=MarcoZ 2017-11-30 16:44:02 +10:00
HandlerProvider.h Bug 1418448 part 1: Accessible HandlerProvider: Clean up DynamicIA2Data correctly. r=aklotz 2017-11-24 15:12:37 +10:00
IAccessible32.manifest Bug 1354077: Add manifests for IAccessible variants: 32-bit and 64-bit; r=jimm 2017-06-06 12:19:12 -06:00
IAccessible64.manifest Bug 1354077: Add manifests for IAccessible variants: 32-bit and 64-bit; r=jimm 2017-06-06 12:19:12 -06:00
PDocAccessible.ipdl Bug 1402951 - no show events for content on document load complete, r=aklotz, yzen 2017-10-03 10:58:27 -04:00
PlatformChild.cpp Bug 1410159: Add additional IUnknown resolution to a11y::HandlerProvider; r=Jamie 2017-11-02 15:37:57 -06:00
PlatformChild.h Bug 1377195: Remove redundant main thread activation context from a11y::PlatformChild; r=eeejay 2017-06-29 10:47:15 -07:00
ProxyAccessible.cpp Bug 1383501 - Do not crash when TabParent::RecvPDocAccessibleConstructor receives a null COM proxy sent to the parent process. r=jimm 2017-10-04 09:12:25 -06:00
ProxyAccessible.h Bug 1383501 - Do not crash when TabParent::RecvPDocAccessibleConstructor receives a null COM proxy sent to the parent process. r=jimm 2017-10-04 09:12:25 -06:00
moz.build Bug 1354077: Add manifests for IAccessible variants: 32-bit and 64-bit; r=jimm 2017-06-06 12:19:12 -06:00