fix: check parent-child relationship in canAccessWindow (#19077)
fix: check parent-child relationship in canAccessWindow (#19077)


the-ress/electron,gerhardberger/electron,the-ress/electron,electron/electron,electron/electron,bpasero/electron,bpasero/electron,bpasero/electron,the-ress/electron,gerhardberger/electron,the-ress/electron,seanchas116/electron,seanchas116/electron,gerhardberger/electron,seanchas116/electron,seanchas116/electron,bpasero/electron,seanchas116/electron,electron/electron,the-ress/electron,gerhardberger/electron,electron/electron,gerhardberger/electron,seanchas116/electron,bpasero/electron,the-ress/electron,gerhardberger/electron,electron/electron,bpasero/electron,bpasero/electron,electron/electron,electron/electron,gerhardberger/electron,the-ress/electron