src/aria/utils/HashManager.js
function (hash) {
            var iframe = this._iframe;
            if (!iframe) {
                return;
            }
            hash = hash || "";
            if (this._currentIframeHashString != hash) {
                var src = ['javascript:document.open();'];
                src.push('document.write(\"<script type=\\\"text/javascript\\\">');
                if (Aria.domain) {
                    src.push('document.domain=\\\"' + Aria.domain + '\\\";');
                }
                src.push('if (parent.' + this.$classpath + '){parent.' + this.$classpath
                        + '.polledIframeHashString=\\\"' + hash + '\\\";}');
                src.push("</script>\");");
                src.push('document.close();');
                iframe.src = src.join("");
                this._currentIframeHashString = hash;
            }
        }
function (hash) {
            var iframe = this._iframe;
            if (!iframe) {
                return;
            }
            hash = hash || "";
            if (this._currentIframeHashString != hash) {
                var src = ['javascript:document.open();'];
                src.push('document.write(\"<script type=\\\"text/javascript\\\">');
                if (Aria.domain) {
                    src.push('document.domain=\\\"' + Aria.domain + '\\\";');
                }
                src.push('if (parent.' + this.$classpath + '){parent.' + this.$classpath
                        + '.polledIframeHashString=\\\"' + hash + '\\\";}');
                src.push("</script>\");");
                src.push('document.close();');
                iframe.src = src.join("");
                this._currentIframeHashString = hash;
            }
        }
function ( hash ) { var iframe = this . _iframe ; if ( ! iframe ) { return ; } hash = hash || "" ; if ( this . _currentIframeHashString != hash ) { var src = [ 'javascript:document.open();' ] ; src . push ( 'document.write(\"<script type=\\\"text/javascript\\\">' ) ; if ( Aria . domain ) { src . push ( 'document.domain=\\\"' + Aria . domain + '\\\";' ) ; } src . push ( 'if (parent.' + this . $classpath + '){parent.' + this . $classpath + '.polledIframeHashString=\\\"' + hash + '\\\";}' ) ; src . push ( "</script>\");" ) ; src . push ( 'document.close();' ) ; iframe . src = src . join ( "" ) ; this . _currentIframeHashString = hash ; } }
Add a hash in the iframe history
@param {String} hash
@protected
Add a hash in the iframe history