From a4646db6da22e18ebbf7b2f69a64b5d588a5c1ce Mon Sep 17 00:00:00 2001 From: "mconnor%steelgryphon.com" Date: Fri, 24 Jun 2005 02:00:14 +0000 Subject: [PATCH] bug 294074 trunk landing, r=me, a=bsmedberg --- browser/base/content/browser.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 4e16012b391..bdbaa372e24 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -4807,6 +4807,9 @@ function asyncOpenWebPanel(event) // javascript links should be executed in the current browser if (wrapper.href.substr(0, 11) === "javascript:") return true; + // data links should be executed in the current browser + if (wrapper.href.substr(0, 5) === "data:") + return true; if (!webPanelSecurityCheck(locWrapper.href, wrapper.href)) return false;