From 2f1b2378046c6f1d663cb65d9460705dccee0d61 Mon Sep 17 00:00:00 2001 From: Tim Taubert Date: Thu, 2 Feb 2012 23:19:45 +0100 Subject: [PATCH] Backed out changeset 2b7cea9aa6a3 (bug 722479) --- browser/components/thumbnails/test/head.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/browser/components/thumbnails/test/head.js b/browser/components/thumbnails/test/head.js index 18f999e911bc..d0516d82acaf 100644 --- a/browser/components/thumbnails/test/head.js +++ b/browser/components/thumbnails/test/head.js @@ -9,8 +9,6 @@ let PageThumbsCache = tmp.PageThumbsCache; registerCleanupFunction(function () { while (gBrowser.tabs.length > 1) gBrowser.removeTab(gBrowser.tabs[1]); - - cachedXULDocument = null; }); let cachedXULDocument; @@ -146,7 +144,6 @@ function getXULDocument(aCallback) { iframe.addEventListener("DOMContentLoaded", function onLoad() { iframe.removeEventListener("DOMContentLoaded", onLoad, false); - doc.body.removeChild(iframe); aCallback(cachedXULDocument = iframe.contentDocument); }, false);