src/courier/PostMessageChannel.js
function _setIFrameLocation(frame, src, bust){
            src += (0 < src.indexOf("?") ? "&" : "?");

            if (bust) {
                src += "bust=";
                src += (new Date()).getTime() + "&";
            }

            src += ((this.hostParam ? "hostParam=" + this.hostParam + "&" + this.hostParam + "=" : "lpHost=") + encodeURIComponent(PostMessageUtilities.getHost(void 0, frame, true)));

            if (!_isNativeMessageChannelSupported.call(this)) {
                src += "&lpPMCPolyfill=true";
            }

            if (false === this.useObjects) {
                src += "&lpPMDeSerialize=true";
            }

            frame.setAttribute("src", src);
        }
function _setIFrameLocation(frame, src, bust){
            src += (0 < src.indexOf("?") ? "&" : "?");

            if (bust) {
                src += "bust=";
                src += (new Date()).getTime() + "&";
            }

            src += ((this.hostParam ? "hostParam=" + this.hostParam + "&" + this.hostParam + "=" : "lpHost=") + encodeURIComponent(PostMessageUtilities.getHost(void 0, frame, true)));

            if (!_isNativeMessageChannelSupported.call(this)) {
                src += "&lpPMCPolyfill=true";
            }

            if (false === this.useObjects) {
                src += "&lpPMDeSerialize=true";
            }

            frame.setAttribute("src", src);
        }
function _setIFrameLocation ( frame , src , bust ) { src += ( 0 < src . indexOf ( "?" ) ? "&" : "?" ) ; if ( bust ) { src += "bust=" ; src += ( new Date ( ) ) . getTime ( ) + "&" ; } src += ( ( this . hostParam ? "hostParam=" + this . hostParam + "&" + this . hostParam + "=" : "lpHost=" ) + encodeURIComponent ( PostMessageUtilities . getHost ( void 0 , frame , true ) ) ) ; if ( ! _isNativeMessageChannelSupported . call ( this ) ) { src += "&lpPMCPolyfill=true" ; } if ( false === this . useObjects ) { src += "&lpPMDeSerialize=true" ; } frame . setAttribute ( "src" , src ) ; }
Sets the iFrame location using a cache bust mechanism,
making sure the iFrame is actually loaded and not from cache
@param {Object} frame - the iframe DOM object
@param {String} src - the source url for the iframe
@param {Boolean} bust - flag to indicate usage of cache buster when loading the iframe
@private
Sets the iFrame location using a cache bust mechanism making sure the iFrame is actually loaded and not from cache