From 37f0a0f325d6449dbf6f13d2d8e37a76f8ffbb04 Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Mon, 16 Jul 2012 15:31:22 +1000 Subject: [PATCH] Bug 773164: remove social frameworker load listener. r=gavin --- toolkit/components/social/FrameWorker.jsm | 1 + 1 file changed, 1 insertion(+) diff --git a/toolkit/components/social/FrameWorker.jsm b/toolkit/components/social/FrameWorker.jsm index 50b61ae974e..227b9b7419f 100644 --- a/toolkit/components/social/FrameWorker.jsm +++ b/toolkit/components/social/FrameWorker.jsm @@ -136,6 +136,7 @@ FrameWorker.prototype = { let worker = this; workerWindow.addEventListener("load", function loadListener() { + workerWindow.removeEventListener("load", loadListener); // the iframe has loaded the js file as text - first inject the magic // port-handling code into the sandbox. function getProtoSource(ob) {