From cd92e230073756330d7ca2e616c0f48ee09fe7c0 Mon Sep 17 00:00:00 2001 From: udanpe Date: Sat, 29 Sep 2018 02:55:45 +0300 Subject: [PATCH] Update iframe.js (#2443) * Update iframe.js Wappalyzer not work with Firebase Chrome 68 MacOs 10.13 Uncaught TypeError: Cannot read property 'postMessageId' of null at onPostMessage (iframe.js:1000) * Update iframe.js * Update iframe.js --- src/drivers/webextension/js/lib/iframe.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/webextension/js/lib/iframe.js b/src/drivers/webextension/js/lib/iframe.js index 01c9cf304..8a1b322fe 100644 --- a/src/drivers/webextension/js/lib/iframe.js +++ b/src/drivers/webextension/js/lib/iframe.js @@ -997,6 +997,8 @@ return; } + if (!adData) return; + if (adData.postMessageId === POST_MSG_ID) { delete adData.postMessageId;