Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(918)

Side by Side Diff: chrome/browser/resources/ssl_error.html

Issue 8919007: Allow bypassing of certificate issues even in pinned domains. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection"> 2 <html i18n-values="dir:textdirection">
3 <head> 3 <head>
4 <title i18n-content="title"></title> 4 <title i18n-content="title"></title>
5 <style type="text/css"> 5 <style type="text/css">
6 body { 6 body {
7 background-color:#500; 7 background-color:#500;
8 font-family:Helvetica,Arial,sans-serif; 8 font-family:Helvetica,Arial,sans-serif;
9 margin:0px; 9 margin:0px;
10 } 10 }
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 $("more_info_short").style.display = "none"; 85 $("more_info_short").style.display = "none";
86 } 86 }
87 } 87 }
88 function setDirectionSensitiveImages() { 88 function setDirectionSensitiveImages() {
89 if (document.documentElement.dir == 'rtl') { 89 if (document.documentElement.dir == 'rtl') {
90 $("twisty_closed_rtl").style.display = "inline"; 90 $("twisty_closed_rtl").style.display = "inline";
91 } else { 91 } else {
92 $("twisty_closed").style.display = "inline"; 92 $("twisty_closed").style.display = "inline";
93 } 93 }
94 } 94 }
95
96 // This allows errors to be skippped by typing "proceed" into the page.
97 var keyPressState = 0;
98 function keyPressHandler(e) {
99 var sequence = "proceed";
100 if (sequence.charCodeAt(keyPressState) == e.keyCode) {
101 keyPressState++;
102 if (keyPressState == sequence.length) {
103 sendCommand(1);
104 keyPressState = 0;
105 }
106 } else {
107 keyPressState = 0;
108 }
109 }
95 </script> 110 </script>
96 </head> 111 </head>
97 <body oncontextmenu="return false;"> 112 <body oncontextmenu="return false;">
98 <script> 113 <script>
99 document.addEventListener('DOMContentLoaded', setDirectionSensitiveImages); 114 document.addEventListener('DOMContentLoaded', setDirectionSensitiveImages);
115 document.addEventListener('keypress', keyPressHandler);
100 </script> 116 </script>
101 <div class="background"><img src="ssl_roadblock_background.png" width="100%" hei ght="100%" alt="background" onmousedown="return false;"></div> 117 <div class="background"><img src="ssl_roadblock_background.png" width="100%" hei ght="100%" alt="background" onmousedown="return false;"></div>
102 <table width="100%" cellspacing="0" cellpadding="0"> 118 <table width="100%" cellspacing="0" cellpadding="0">
103 <td class="cell" valign="middle" align="center"> 119 <td class="cell" valign="middle" align="center">
104 <div class="box"> 120 <div class="box">
105 <div class="icon"><img src="ssl_roadblock_icon.png" alt="SSL Error Icon" o nmousedown="return false;"></div> 121 <div class="icon"><img src="ssl_roadblock_icon.png" alt="SSL Error Icon" o nmousedown="return false;"></div>
106 <div class="title" i18n-content="headLine"></div> 122 <div class="title" i18n-content="headLine"></div>
107 <div class="main" i18n-values=".innerHTML:description"></div> 123 <div class="main" i18n-values=".innerHTML:description"></div>
108 <div class="main"> 124 <div class="main">
109 <form class="submission"> 125 <form class="submission">
(...skipping 17 matching lines...) Expand all
127 <p i18n-values=".innerHTML:moreInfo1"></p> 143 <p i18n-values=".innerHTML:moreInfo1"></p>
128 <p i18n-values=".innerHTML:moreInfo2"></p> 144 <p i18n-values=".innerHTML:moreInfo2"></p>
129 <p i18n-values=".innerHTML:moreInfo3"></p> 145 <p i18n-values=".innerHTML:moreInfo3"></p>
130 <p i18n-values=".innerHTML:moreInfo4"></p> 146 <p i18n-values=".innerHTML:moreInfo4"></p>
131 <p i18n-values=".innerHTML:moreInfo5"></p> 147 <p i18n-values=".innerHTML:moreInfo5"></p>
132 </div> 148 </div>
133 </td> 149 </td>
134 </table> 150 </table>
135 </body> 151 </body>
136 </html> 152 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698