From 12ca303901e3f78cf6718d8c83fdf1ceb50fdc92 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 9763a84..8eaeab5 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) {