SimileAjax.Debug.exception("Error adding action {" + action.label + "} to history", e); 
SimileAjax.Debug.exception(e, "Error adding action {" + action.label + "} to history"); 
SimileAjax.History.addAction = function(action) {    SimileAjax.History.initialize();        SimileAjax.History._listeners.fire("onBeforePerform", [ action ]);    window.setTimeout(function() {        try {            action.perform();            SimileAjax.History._listeners.fire("onAfterPerform", [ action ]);                            if (SimileAjax.History.enabled) {                SimileAjax.History._actions = SimileAjax.History._actions.slice(                    0, SimileAjax.History._currentIndex - SimileAjax.History._baseIndex);                                    SimileAjax.History._actions.push(action);                SimileAjax.History._currentIndex++;                                var diff = SimileAjax.History._actions.length - SimileAjax.History.maxHistoryLength;                if (diff > 0) {                    SimileAjax.History._actions = SimileAjax.History._actions.slice(diff);                    SimileAjax.History._baseIndex += diff;                }                                try {                    SimileAjax.History._iframe.contentWindow.location.search =                         "?" + SimileAjax.History._currentIndex;                } catch (e) {                    /*                     *  We can't modify location.search most probably because it's a file:// url.                     *  We'll just going to modify the document's title.                     */                    var title = SimileAjax.History.formatHistoryEntryTitle(action.label);                    document.title = title;                }            }        } catch (e) {            SimileAjax.Debug.exception("Error adding action {" + action.label + "} to history", e);        }    }, 0);};
6194	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6194/e6a7aa88ef8bbd4b7299eda0cdc48846d7e350a2/history.js/buggy/src/webapp/api/scripts/history.js