From 2bcd29c3407e5c44b7393fb27843a1bb89820194 Mon Sep 17 00:00:00 2001 From: Rob Campbell Date: Mon, 18 Oct 2010 19:57:09 -0300 Subject: [PATCH] bug 602198 - Reduce privilege of the Web Console Network Inspector, r=gavin, a=blocking2.0 --- toolkit/components/console/hudservice/HUDService.jsm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolkit/components/console/hudservice/HUDService.jsm b/toolkit/components/console/hudservice/HUDService.jsm index 0219ca06116..734e32f74fa 100644 --- a/toolkit/components/console/hudservice/HUDService.jsm +++ b/toolkit/components/console/hudservice/HUDService.jsm @@ -696,10 +696,10 @@ function NetworkPanel(aParent, aHttpActivity) close: "true" }); - // Create the browser that displays the NetworkPanel XHTML. - this.browser = createAndAppendElement(this.panel, "browser", { + // Create the iframe that displays the NetworkPanel XHTML. + this.browser = createAndAppendElement(this.panel, "iframe", { src: "chrome://browser/content/NetworkPanel.xhtml", - disablehistory: "true", + type: "content", flex: "1" });