From 17d06058b8aa5e05a705c5c914fb42bf9f13a307 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Sun, 26 Oct 2014 01:54:07 +0000 Subject: Change registerFrameIfSizeAvailable to registerFrame, stop sending size We were never using the area property, and it was causing an infinite setTimeout loop on frames with height == 0 or width == 0 (often caused by AdBlockPlus etc.). --- background_scripts/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts') diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 352cfa48..7b9d98b0 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -593,7 +593,7 @@ registerFrame = (request, sender) -> focusedFrame = request.frameId framesForTab[sender.tab.id].total = request.total - framesForTab[sender.tab.id].frames.push({ id: request.frameId, area: request.area }) + framesForTab[sender.tab.id].frames.push({ id: request.frameId }) handleFrameFocused = (request, sender) -> focusedFrame = request.frameId -- cgit v1.2.3