mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
bug 294074 trunk landing, r=me, a=bsmedberg
This commit is contained in:
parent
69f144bca7
commit
09879e090d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user