src/aria/core/transport/IFrame.js
function (event) {
            // This method cannot use 'this' because the scope is not aria.core.transport.IFrame when this method is
            // called. It uses oSelf instead.
            var event = event || Aria.$frameworkWindow.event;
            var iFrame = event.target || event.srcElement;
            if (!iFrame.readyState || /loaded|complete/.test(iFrame.readyState)) {
                var reqId = /^xIFrame(\d+)$/.exec(iFrame.id)[1];
                // Make sure things are async
                setTimeout(function () {
                    aria.core.transport.IFrame._sendBackResult(reqId);
                }, 4);
            }
        }
function (event) {
            // This method cannot use 'this' because the scope is not aria.core.transport.IFrame when this method is
            // called. It uses oSelf instead.
            var event = event || Aria.$frameworkWindow.event;
            var iFrame = event.target || event.srcElement;
            if (!iFrame.readyState || /loaded|complete/.test(iFrame.readyState)) {
                var reqId = /^xIFrame(\d+)$/.exec(iFrame.id)[1];
                // Make sure things are async
                setTimeout(function () {
                    aria.core.transport.IFrame._sendBackResult(reqId);
                }, 4);
            }
        }
function ( event ) { // This method cannot use 'this' because the scope is not aria.core.transport.IFrame when this method is // called. It uses oSelf instead. var event = event || Aria . $frameworkWindow . event ; var iFrame = event . target || event . srcElement ; if ( ! iFrame . readyState || / loaded|complete / . test ( iFrame . readyState ) ) { var reqId = / ^xIFrame(\d+)$ / . exec ( iFrame . id ) [ 1 ] ; // Make sure things are async setTimeout ( function ( ) { aria . core . transport . IFrame . _sendBackResult ( reqId ) ; } , 4 ) ; } }
load and readystatechange event handler on the iFrame.
@param {DOMEvent} event
load and readystatechange event handler on the iFrame .