Skip to content
Snippets Groups Projects
Commit 00ea13b8 authored by Eitan Isaacson's avatar Eitan Isaacson
Browse files

Bug 1502061 - Check if origTargetNode still exists in ProcessDOMEvent. r=Jamie

parent b7ac963c
No related branches found
No related tags found
No related merge requests found
......@@ -274,6 +274,11 @@ RootAccessible::ProcessDOMEvent(Event* aDOMEvent)
logging::DOMEvent("processed", origTargetNode, eventType);
#endif
if (!origTargetNode) {
// Original target has ceased to exist.
return;
}
if (eventType.EqualsLiteral("popuphiding")) {
HandlePopupHidingEvent(origTargetNode);
return;
......
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