From 1eb81e4083cea95fdd6cfc9c4fb8f9e39eff2575 Mon Sep 17 00:00:00 2001 From: Deathamns Date: Tue, 16 Dec 2014 18:55:41 +0100 Subject: [PATCH] Firefox: fix 'main_frame' for e10s --- platform/firefox/frameModule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/frameModule.js b/platform/firefox/frameModule.js index 9763a8494..8eaeab52c 100644 --- a/platform/firefox/frameModule.js +++ b/platform/firefox/frameModule.js @@ -90,7 +90,7 @@ let contentPolicy = { } let win = type === 6 - ? context.contentWindow + ? context.contentWindow || context : (context.ownerDocument || context).defaultView; if (!win) {