Index: chrome/renderer/resources/neterror.html |
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html |
index 41c80c8d92b0798cd22c06bdf86086209c0af2c5..bfe79a8ef364d376cf2814b236ec602d6508389f 100644 |
--- a/chrome/renderer/resources/neterror.html |
+++ b/chrome/renderer/resources/neterror.html |
@@ -301,6 +301,10 @@ function toggleHelpBox() { |
} |
} |
+function diagnoseErrors() { |
+ location = "chrome-extension://kodldpbjkkmmnilagfdheibampofhaom/index.html"; |
+} |
+ |
// Subframes use a different layout but the same html file. This is to make it |
// easier to support platforms that load the error page via different |
// mechanisms (Currently just iOS). |
@@ -339,6 +343,8 @@ function updateForDnsProbe(strings) { |
<div class="suggestion-header" jsvalues=".innerHTML:header"></div> |
<div class="suggestion-body" jsvalues=".innerHTML:body"></div> |
</div> |
+ <button id="diagnose-button" onclick="diagnoseErrors()" |
Dmitry Polukhin
2013/07/26 00:33:41
Please show this button only in case of Chrome OS.
Zachary Kuznia
2013/07/26 00:54:41
Done.
|
+ jscontent="diagnose">Diagnose</button> |
<div class="error-code" jscontent="errorCode"></div> |
</div> |
</div> |