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, 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 Loading... |
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 Loading... |
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> |
OLD | NEW |