Skip to content
Snippets Groups Projects
Commit 7e34a306 authored by Christian Holler's avatar Christian Holler
Browse files

Bug 1795124 - Add missing target check in DocAccessibleParent. r=eeejay

parent 2917c781
No related branches found
No related tags found
No related merge requests found
......@@ -631,6 +631,11 @@ mozilla::ipc::IPCResult DocAccessibleParent::RecvCache(
if (aUpdateType == CacheUpdateType::Initial && !aData.IsEmpty()) {
RemoteAccessible* target = GetAccessible(aData.ElementAt(0).ID());
if (!target) {
MOZ_ASSERT_UNREACHABLE("No remote found for initial cache push!");
return IPC_OK();
}
ProxyShowHideEvent(target, target->RemoteParent(), true, false);
if (nsCoreUtils::AccEventObserversExist()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment