Browse Source

Firefox: use correct data for parentFrameId

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
eecc860be7
  1. 3
      platform/firefox/frameModule.js

3
platform/firefox/frameModule.js

@ -158,7 +158,6 @@ const contentObserver = {
}
let isTopLevel = context === context.top;
let frameId = isTopLevel ? 0 : this.getFrameId(context);
let parentFrameId;
if ( isTopLevel ) {
@ -171,7 +170,7 @@ const contentObserver = {
let messageManager = getMessageManager(context);
let details = {
frameId: frameId,
frameId: isTopLevel ? 0 : this.getFrameId(context),
openerURL: openerURL,
parentFrameId: parentFrameId,
type: type,

Loading…
Cancel
Save