Browse Source

this fixes #795

pull/2/head
gorhill 10 years ago
parent
commit
0f629c9df8
  1. 4
      platform/firefox/frameModule.js

4
platform/firefox/frameModule.js

@ -149,7 +149,9 @@ const contentObserver = {
return this.ACCEPT;
}
let isTopLevel = context === context.top;
// https://github.com/gorhill/uBlock/issues/795
// Only the top main frame can be an orphan
let isTopLevel = context === context.top && type === this.MAIN_FRAME;
let parentFrameId;
if ( isTopLevel ) {

Loading…
Cancel
Save