mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
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:
parent
2f8e0906ff
commit
e0d301715d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user