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

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

Issue 19777002: Revert 211950 "Display DNS probe results." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1568/src/
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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/net/net_error_helper_unittest.cc ('k') | 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 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
316 </script> 310 </script>
317 311
318 <body id="t"> 312 <body id="t">
319 <div id="main-frame-error"> 313 <div id="main-frame-error">
320 <div id="box"> 314 <div id="box">
321 <div id="content-top"> 315 <div id="content-top">
322 <h1> 316 <h1>
323 <div><img class="error-img"></div> 317 <div><img class="error-img"></div>
324 <span i18n-content="heading"></span> 318 <span i18n-content="heading"></span>
325 </h1> 319 </h1>
(...skipping 19 matching lines...) Expand all
345 </div> 339 </div>
346 </div> 340 </div>
347 <div id="sub-frame-error"> 341 <div id="sub-frame-error">
348 <!-- Show details when hovering over the icon, in case the details are 342 <!-- Show details when hovering over the icon, in case the details are
349 hidden because they're too large. --> 343 hidden because they're too large. -->
350 <img class="error-img" jsvalues=".title:errorDetails"> 344 <img class="error-img" jsvalues=".title:errorDetails">
351 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div> 345 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div>
352 </div> 346 </div>
353 </body> 347 </body>
354 </html> 348 </html>
OLDNEW
« no previous file with comments | « chrome/renderer/net/net_error_helper_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698