OLD | NEW |
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" /> | 4 <meta name="viewport" content="width=device-width" /> |
5 <title i18n-content="title"> | 5 <title i18n-content="title"> |
6 </title> | 6 </title> |
7 <style> | 7 <style> |
8 | 8 |
9 body { | 9 body { |
10 background-color: #E6E6E6; | 10 background-color: #E6E6E6; |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 moreLessButton.innerText = moreLessButton.lessText; | 271 moreLessButton.innerText = moreLessButton.lessText; |
272 } | 272 } |
273 } | 273 } |
274 | 274 |
275 // Subframes use a different layout but the same html file. This is to make it | 275 // Subframes use a different layout but the same html file. This is to make it |
276 // easier to support platforms that load the error page via different | 276 // easier to support platforms that load the error page via different |
277 // mechanisms (Currently just iOS). | 277 // mechanisms (Currently just iOS). |
278 if (window.top.location != window.location) | 278 if (window.top.location != window.location) |
279 document.documentElement.setAttribute('subframe', ''); | 279 document.documentElement.setAttribute('subframe', ''); |
280 | 280 |
| 281 function updateForDnsProbe(strings) { |
| 282 var context = new JsEvalContext(strings); |
| 283 jstProcess(context, document.getElementById('help-box-outer')); |
| 284 jstProcess(context, document.getElementById('details')); |
| 285 } |
| 286 |
281 </script> | 287 </script> |
282 | 288 |
283 <body id="t"> | 289 <body id="t"> |
284 <div id="main-frame-error"> | 290 <div id="main-frame-error"> |
285 <div id="box"> | 291 <div id="box"> |
286 <div id="content-top"> | 292 <div id="content-top"> |
287 <h1> | 293 <h1> |
288 <div><img class="error-img"></div> | 294 <div><img class="error-img"></div> |
289 <span i18n-content="heading"></span> | 295 <span i18n-content="heading"></span> |
290 </h1> | 296 </h1> |
(...skipping 18 matching lines...) Expand all Loading... |
309 </div> | 315 </div> |
310 </div> | 316 </div> |
311 <div id="sub-frame-error"> | 317 <div id="sub-frame-error"> |
312 <!-- Show details when hovering over the icon, in case the details are | 318 <!-- Show details when hovering over the icon, in case the details are |
313 hidden because they're too large. --> | 319 hidden because they're too large. --> |
314 <img class="error-img" jsvalues=".title:errorDetails"> | 320 <img class="error-img" jsvalues=".title:errorDetails"> |
315 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div> | 321 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div> |
316 </div> | 322 </div> |
317 </body> | 323 </body> |
318 </html> | 324 </html> |
OLD | NEW |