Bug 597259 - Add exception... and Get me out of here buttons does not work inside iframe page. r=sicking a=blocker

This commit is contained in:
Alice0775 White 2010-10-18 22:53:14 -07:00
parent 2f8e0906ff
commit e0d301715d

View File

@ -4473,7 +4473,7 @@ var TabsProgressListener = {
// document URI is not yet the about:-uri of the error page.
if (aStateFlags & Ci.nsIWebProgressListener.STATE_STOP &&
/^about:/.test(aBrowser.contentWindow.document.documentURI)) {
/^about:/.test(aWebProgress.DOMWindow.document.documentURI)) {
aBrowser.addEventListener("click", BrowserOnClick, false);
aBrowser.addEventListener("pagehide", function () {
aBrowser.removeEventListener("click", BrowserOnClick, false);