diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 19:57:52 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 19:57:52 +0000 |
commit | a5e4bb0a67fc355053668c1175c2371a41ee8c92 (patch) | |
tree | 259636f1f5f0742511df95d1c1b9d2ead1ad8a40 /chrome/browser/security | |
parent | bd0b334ad288b039b6576db5877a57796d20c517 (diff) | |
download | chromium_src-a5e4bb0a67fc355053668c1175c2371a41ee8c92.zip chromium_src-a5e4bb0a67fc355053668c1175c2371a41ee8c92.tar.gz chromium_src-a5e4bb0a67fc355053668c1175c2371a41ee8c92.tar.bz2 |
Disabled the drag and drop of images and links in the blocking pages to prevent bad navigations.
Removed an unused file as well.
BUG=3235
TEST=Trigger a blocking page (ex: https://ebay.com). Try dragging the warning image and link around. This should not do anything.
Review URL: http://codereview.chromium.org/6590
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3037 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/security')
-rw-r--r-- | chrome/browser/security/resources/ssl_error.html | 6 | ||||
-rw-r--r-- | chrome/browser/security/resources/ssl_roadblock.html | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/security/resources/ssl_error.html b/chrome/browser/security/resources/ssl_error.html index 123ac85..82a1a6b 100644 --- a/chrome/browser/security/resources/ssl_error.html +++ b/chrome/browser/security/resources/ssl_error.html @@ -93,7 +93,7 @@ document.addEventListener('DOMContentLoaded', setDirectionSensitiveImages); <table width="100%" cellspacing="0" cellpadding="0"> <td class="cell" valign="middle" align="center"> <div class="box"> - <div class="icon"><img src="ssl_roadblock_icon.png" alt="SSL Error Icon" /></div> + <div class="icon"><img src="ssl_roadblock_icon.png" alt="SSL Error Icon" onmousedown="return false;"/></div> <div class="title" jscontent="headLine"></div> <div class="main" jseval="this.innerHTML = $this.description;"></div> <div class="main"> @@ -111,10 +111,10 @@ document.addEventListener('DOMContentLoaded', setDirectionSensitiveImages); // the inlined version will just end up with that path string rather // than the inlined image. --> - <a href="#" onclick="toggleMoreInfo(false); return false;"><img id="twisty_closed" src="twisty_closed.png" border="0" style="display:none"/><img id="twisty_closed_rtl" src="twisty_closed_rtl.png" border="0" style="display:none"/><span jscontent="moreInfoTitle" class="moreinfotitle"></span></a> + <a href="#" onclick="toggleMoreInfo(false); return false;" onmousedown="return false;"><img id="twisty_closed" src="twisty_closed.png" border="0" style="display:none"/><img id="twisty_closed_rtl" src="twisty_closed_rtl.png" border="0" style="display:none"/><span jscontent="moreInfoTitle" class="moreinfotitle"></span></a> </div> <div class="example" id="more_info_long" style="display:none;"> - <a href="#" onclick="toggleMoreInfo(true); return false;"><img src="twisty_open.png" border="0" /><span jscontent="moreInfoTitle" class="moreinfotitle"></span></a> + <a href="#" onclick="toggleMoreInfo(true); return false;" onmousedown="return false;"><img src="twisty_open.png" border="0" /><span jscontent="moreInfoTitle" class="moreinfotitle"></span></a> <p jseval="this.innerHTML = $this.moreInfo1;"></p> <p jseval="this.innerHTML = $this.moreInfo2;"></p> <p jseval="this.innerHTML = $this.moreInfo3;"></p> diff --git a/chrome/browser/security/resources/ssl_roadblock.html b/chrome/browser/security/resources/ssl_roadblock.html index 12ce7d6..999fb4a 100644 --- a/chrome/browser/security/resources/ssl_roadblock.html +++ b/chrome/browser/security/resources/ssl_roadblock.html @@ -102,7 +102,7 @@ document.addEventListener('DOMContentLoaded', setDirectionSensitiveImages); <table width="100%" cellspacing="0" cellpadding="0"> <td class="cell" valign="middle" align="center"> <div class="box"> - <div class="icon"><img src="ssl_roadblock_icon.png" alt="SSL Error Icon" /></div> + <div class="icon"><img src="ssl_roadblock_icon.png" alt="SSL Error Icon" onmousedown="return false;"/></div> <div class="title" jscontent="headLine"></div> <div class="main" jseval="this.innerHTML = $this.description;"></div> <div class="main"> @@ -121,10 +121,10 @@ document.addEventListener('DOMContentLoaded', setDirectionSensitiveImages); // the inlined version will just end up with that path string rather // than the inlined image. --> - <a href="#" onclick="toggleMoreInfo(false); return false;"><img id="twisty_closed" src="twisty_closed.png" border="0" style="display:none"/><img id="twisty_closed_rtl" src="twisty_closed_rtl.png" border="0" style="display:none"/><span jscontent="moreInfoTitle" class="moreinfotitle"></span></a> + <a href="#" onclick="toggleMoreInfo(false); return false;" onmousedown="return false;"><img id="twisty_closed" src="twisty_closed.png" border="0" style="display:none"/><img id="twisty_closed_rtl" src="twisty_closed_rtl.png" border="0" style="display:none"/><span jscontent="moreInfoTitle" class="moreinfotitle"></span></a> </div> <div class="example" id="more_info_long" style="display:none;"> - <a href="#" onclick="toggleMoreInfo(true); return false;"><img src="twisty_open.png" border="0" /><span jscontent="moreInfoTitle" class="moreinfotitle"></span></a> + <a href="#" onclick="toggleMoreInfo(true); return false;" onmousedown="return false;"><img src="twisty_open.png" border="0" /><span jscontent="moreInfoTitle" class="moreinfotitle"></span></a> <p jseval="this.innerHTML = $this.moreInfo1;"></p> <p jseval="this.innerHTML = $this.moreInfo2;"></p> <p jseval="this.innerHTML = $this.moreInfo3;"></p> |