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