zpselenium.js
Summary
No overview generated for 'zpselenium.js'
ErrorHandler = {};
ErrorHandler.setup = function(target_frame) {
work_frame = target_frame;
ErrorHandler.resetErrStack();
work_frame.window.onerror = ErrorHandler.handleError;
}
ErrorHandler.handleError = function(desc, path, line) {
ErrorHandler.err_stack.push([desc, path, line]);
return false;
}
ErrorHandler.resetErrStack = function() {
ErrorHandler.err_stack = [];
}
ErrorHandler.getErrStack = function() {
return ErrorHandler.err_stack;
}
ErrorHandler.setup(self);
if (window.parent != undefined && window.parent.selenium != undefined)
window.parent.selenium.browserbot.modifyWindowToRecordPopUpDialogs(self, window.parent.selenium.browserbot);
Documentation generated by
JSDoc on Thu Aug 16 12:18:39 2007