bug 294074 trunk landing, r=me, a=bsmedberg

This commit is contained in:
mconnor%steelgryphon.com 2005-06-24 02:00:14 +00:00
parent 69f144bca7
commit 09879e090d

View File

@ -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;