1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-04 16:47:15 +02:00

Merge branch 'master' of github.com:gorhill/uBlock

This commit is contained in:
Chris 2015-01-27 22:44:29 -07:00
commit a44eac8625

View File

@ -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 {