堆栈溢出错误(Stack Overflow Error)



在我的网站上,我通过点击页面中的图像链接按钮打开一个新窗口,然后其他链接按钮工作正常,但关闭新打开的窗口后,当我尝试单击链接按钮时,它抛出堆栈空间错误在Webresource。

文件目录
function WebForm_SaveScrollPositionSubmit() {
if (__nonMSDOMBrowser) {
    theForm.elements['__SCROLLPOSITIONY'].value = window.pageYOffset;
    theForm.elements['__SCROLLPOSITIONX'].value = window.pageXOffset;
}
else {
    theForm.__SCROLLPOSITIONX.value = WebForm_GetScrollX();
    theForm.__SCROLLPOSITIONY.value = WebForm_GetScrollY();
}
if ((typeof(this.oldSubmit) != "undefined") && (this.oldSubmit != null)) {
    return this.oldSubmit(); // Error thrown here
}
return true;

}

请告诉我是什么问题。

这是Webresource.axd

的屏幕截图编辑:

this.oldsubmitcode中,我只得到以下方法

callBaseMethod() = callBaseMethod(a, d, b)
getBaseMethod() = getBaseMethod(a, b)
getBaseType() = getBaseType()
getInterfaces() = getInterfaces()
getName() = getName()
implementsInterface() = implementsInterface(d)
inheritsFrom() = inheritsFrom(b)
initializeBase() = initializeBase(a, b)
isImplementedBy() = isImplementedBy(a)
isInstanceOfType() = isInstanceOfType(a)
registerClass() = registerClass(c, b, d)
registerEnum() = registerEnum(b, c)
registerInterface() = registerInterface(a)
resolveInheritance() = resolveInheritance()

我在此链接中发现模式对话框堆栈溢出错误,在Internet Explorer中打开多个模式对话框可能会导致堆栈溢出错误

可能是这样。oldSubmit(直接或间接)递归调用WebForm_SaveScrollPositionSubmit。检查this的值。

相关内容

最新更新