From 052f2961817bccb0c1f2dd3427cf28a4add9a035 Mon Sep 17 00:00:00 2001 From: Deathamns Date: Tue, 27 Jan 2015 22:05:01 +0100 Subject: [PATCH] Doesn't work --- platform/firefox/frameModule.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/platform/firefox/frameModule.js b/platform/firefox/frameModule.js index 1124ca0..d0effae 100644 --- a/platform/firefox/frameModule.js +++ b/platform/firefox/frameModule.js @@ -132,14 +132,6 @@ const contentObserver = { let openerURL = null; if ( type === this.MAIN_FRAME ) { - // When an iframe is loaded, it will be reported first as type = 6, - // then immediately after that type = 7, so ignore the first report. - // Origin should be "chrome://browser/content/browser.xul" here. - // The lack of side-effects are not guaranteed though. - if ( origin === null || origin.schemeIs('chrome') === false ) { - return this.ACCEPT; - } - context = context.contentWindow || context; try {