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

Side by Side Diff: chrome/renderer/resources/neterror.html

Issue 22283002: Fix a type in the net error page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months 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 <meta name="viewport" content="width=device-width, initial-scale=1.0, 4 <meta name="viewport" content="width=device-width, initial-scale=1.0,
5 maximum-scale=1.0, user-scalable=no"> 5 maximum-scale=1.0, user-scalable=no">
6 <title i18n-content="title"> 6 <title i18n-content="title">
7 </title> 7 </title>
8 <style> 8 <style>
9 9
10 body { 10 body {
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 moreLessButton.innerText = moreLessButton.moreText; 307 moreLessButton.innerText = moreLessButton.moreText;
308 } else { 308 } else {
309 moreLessButton.innerText = moreLessButton.lessText; 309 moreLessButton.innerText = moreLessButton.lessText;
310 } 310 }
311 } 311 }
312 312
313 function diagnoseErrors() { 313 function diagnoseErrors() {
314 var extension_id = "idddmepepmjcgiedknnmlbadcokidhoa"; 314 var extension_id = "idddmepepmjcgiedknnmlbadcokidhoa";
315 var diagnose_frame = document.getElementById('diagnose-frame'); 315 var diagnose_frame = document.getElementById('diagnose-frame');
316 diagnose_frame.innerHTML = 316 diagnose_frame.innerHTML =
317 '<iframe src="+chrome-extension://' + extension_id + 317 '<iframe src="chrome-extension://' + extension_id +
318 '/index.html"></iframe>'; 318 '/index.html"></iframe>';
319 319
320 } 320 }
321 321
322 // Subframes use a different layout but the same html file. This is to make it 322 // Subframes use a different layout but the same html file. This is to make it
323 // easier to support platforms that load the error page via different 323 // easier to support platforms that load the error page via different
324 // mechanisms (Currently just iOS). 324 // mechanisms (Currently just iOS).
325 if (window.top.location != window.location) 325 if (window.top.location != window.location)
326 document.documentElement.setAttribute('subframe', ''); 326 document.documentElement.setAttribute('subframe', '');
327 327
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 </div> 376 </div>
377 </div> 377 </div>
378 <div id="sub-frame-error"> 378 <div id="sub-frame-error">
379 <!-- Show details when hovering over the icon, in case the details are 379 <!-- Show details when hovering over the icon, in case the details are
380 hidden because they're too large. --> 380 hidden because they're too large. -->
381 <img class="icon" jseval="this.classList.add(iconClass)" jsvalues=".title:erro rDetails"> 381 <img class="icon" jseval="this.classList.add(iconClass)" jsvalues=".title:erro rDetails">
382 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div> 382 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div>
383 </div> 383 </div>
384 </body> 384 </body>
385 </html> 385 </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