Firefox: workaround for the e10s crash

pull/2/head
Deathamns 10 years ago committed by gorhill
parent 9f4e9d48da
commit 6571a0700f

@ -147,9 +147,9 @@ const contentObserver = {
// The context for the popups is an iframe element here, // The context for the popups is an iframe element here,
// so check context.top instead // so check context.top instead
if ( context.top && context.location ) { if ( context.top && context.location ) {
getMessageManager(context).sendSyncMessage(this.messageName, { // https://bugzil.la/1092216
getMessageManager(context).sendRpcMessage(this.messageName, {
opener: opener || null, opener: opener || null,
url: location.spec, url: location.spec,
type: type, type: type,

Loading…
Cancel
Save