`response.result` could be undefined if `currentBC.currentWindowGlobal` is null, so that sendQueryToContext fails to send the message to the global. This becomes possible with bug 1882670 as we start to initialize the frame loader for iframes earlier. The windowGlobal will be attached once the iframes are loaded, this patch fixes the case when they haven't loaded. Differential Revision: https://phabricator.services.mozilla.com/D222701