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

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

Issue 13270005: Display DNS probe results. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 5 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
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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 moreLessButton.innerText = moreLessButton.lessText; 300 moreLessButton.innerText = moreLessButton.lessText;
301 } 301 }
302 } 302 }
303 303
304 // Subframes use a different layout but the same html file. This is to make it 304 // Subframes use a different layout but the same html file. This is to make it
305 // easier to support platforms that load the error page via different 305 // easier to support platforms that load the error page via different
306 // mechanisms (Currently just iOS). 306 // mechanisms (Currently just iOS).
307 if (window.top.location != window.location) 307 if (window.top.location != window.location)
308 document.documentElement.setAttribute('subframe', ''); 308 document.documentElement.setAttribute('subframe', '');
309 309
310 function updateForDnsProbe(strings) {
311 var context = new JsEvalContext(strings);
312 jstProcess(context, document.getElementById('help-box-outer'));
313 jstProcess(context, document.getElementById('details'));
314 }
315
310 </script> 316 </script>
311 317
312 <body id="t"> 318 <body id="t">
313 <div id="main-frame-error"> 319 <div id="main-frame-error">
314 <div id="box"> 320 <div id="box">
315 <div id="content-top"> 321 <div id="content-top">
316 <h1> 322 <h1>
317 <div><img class="error-img"></div> 323 <div><img class="error-img"></div>
318 <span i18n-content="heading"></span> 324 <span i18n-content="heading"></span>
319 </h1> 325 </h1>
(...skipping 19 matching lines...) Expand all
339 </div> 345 </div>
340 </div> 346 </div>
341 <div id="sub-frame-error"> 347 <div id="sub-frame-error">
342 <!-- Show details when hovering over the icon, in case the details are 348 <!-- Show details when hovering over the icon, in case the details are
343 hidden because they're too large. --> 349 hidden because they're too large. -->
344 <img class="error-img" jsvalues=".title:errorDetails"> 350 <img class="error-img" jsvalues=".title:errorDetails">
345 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div> 351 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div>
346 </div> 352 </div>
347 </body> 353 </body>
348 </html> 354 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698